RectControl.LockBottom

From Xojo Documentation

Revision as of 16:42, 16 February 2021 by PLefebvre (talk | contribs) (Example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )
aRectControl.LockBottom = newBooleanValue
or
BooleanValue = aRectControl.LockBottom

Supported for all project types and targets.

Determines whether the bottom edge of the control should stay at a set distance from the bottom edge of the parent control, if there is one, or the owning window.

Example

This property can be set in the control's Inspector. The following example sets it in code.

Me.LockBottom = True