tips
[Top] [All Lists]

REALbasic Tip: Using formulas to modify values in the Properties window

To: "REALbasic Tips" <realbasic-tips at lists dot realsoftware dot com>
Subject: REALbasic Tip: Using formulas to modify values in the Properties window
From: Geoff Perlman <geoff at realsoftware dot com>
Date: Wed, 25 Sep 2002 15:14:51 -0500
Often times you may want to double the width of a button or add 25 pixels to the height of a window. In REALbasic 4.5 this is easy to do because you can use formulas in the Properties window to recalculate property values. In the example below, the width of a window is doubled by multiplying the value by 2.

When you press the enter key, the value is replaced by the result (600 in this case). You can use just about any operator (+ - / *). You can even use complex formulas (300 * 2 + 10 for example). Too bad increasing the property value of your home were isn’t this easy!

If you haven’t upgraded to REALbasic 4.5, you can do so at:
<http://www.realsoftware.com/store/index.html>
--
Geoff Perlman
President and CEO
REAL Software, Inc.
512-328-7325 x711 (voice)
512-328-7372 (fax)
<Prev in Thread] Current Thread [Next in Thread>
  • REALbasic Tip: Using formulas to modify values in the Properties window, Geoff Perlman <=