ContainerControl.LockRight

From Xojo Documentation

Property (As Boolean )
aContainerControl.LockRight = newBooleanValue
or
BooleanValue = aContainerControl.LockRight

Supported for all project types and targets.

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

Sample Code

Me.LockRight = True

See Also

UserGuide:Desktop Control Hierarchy