RectControl.LockBottom

From Xojo Documentation

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 propery can be set in the control's Inspector. The following example sets it in code.

Me.LockBottom = True