From Xojo Documentation

Property (As Boolean )
aContainerControl.LockBottom = newBooleanValue
BooleanValue = aContainerControl.LockBottom

Supported for all project types and targets.

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

Sample Code

Me.LockBottom = True

See Also

The Class Hierarchy