Error getting tags :
error 404Error getting tags :
error 404 height | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
height
Basics
Expander triangle
Type
Property
Syntax

set the height of object to numberOfPixels

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the distance from an object's top edge to its bottom edge.
Examples

put the height of button 1 + the height of button 2 into requiredHeight
set the height of field thisField to the textHeight of thisField

Additional Comments
Expander triangle

Use the height property to determine how much vertical space an object needs, or to make it taller or shorter.

Value:

The height of an object is a positive integer.

Comments:

If an object's lockLocation property is false, when you change its height, it shrinks or grows from the center. The object's top and bottom edges both shift, while the object's location property stays the same. If the object's lockLocation property is true, it shrinks or grows from the top left corner: the object's top edge stays in the same place, and the bottom edge moves.

If you reduce the height of a stack, some objects may end up outside the stack window. These objects are not shown; however, they are still there, and will be displayed if you make the window tall enough.

The height of an object cannot be set to zero. Attempting to do so will set the height to 1 instead.

Cross-platform note: On Mac OS and OS X systems, the menu bar normally appears at the top of the screen, rather than inside the stack window. If a stack contains a menu bar and the stack'seditMenusproperty is set to false, the stack window is automatically resized so that the menu bargroup is not visible in the window. In this case, the height of the stack is the current height of the stack window., but the height of the card is the height of the total content area of the stack (including the hidden menu bargroup). This is equal to the height of the stack plus its vScroll.

You can set the height of a card, but doing so has no effect and doesn't change the card's height property.

User Comments
Expander triangle