Livecode Wiki

Specifies how far an object's bottom edge is from the top of the window or screen.Syntax:

set the bottom of <object> to <number>


if the bottom of this stack > 600 then changeStackPlacement
set the bottom of card field 1 to the height of this stack

Use the bottom property to change the vertical placement of a control or window.

The bottom of a stack is in [[absolute (screen) coordinates(glossary)]]. The bottom of a card is always equal to the height of the stack window; setting the bottom of a card does not cause a script error, but it has no effect. The bottom of a group or control is in relative (window) coordinates(glossary).

Changing the bottom of an object(glossary) shifts it to the new position without resizing it. To change an object's height, set its height or rectangle property.

The height property of an object(glossary) is equal to its bottom minus its top.

See also: stack (object),pixels (property),rectangle (property),bottomMargin (property),bottomRight (property),bottomLeft (property),height (property),top (property),