From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aDesktopContainer.LockRight = newBooleanValue
BooleanValue = aDesktopContainer.LockRight

New in 2021r3

Supported for all project types and targets.

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

Sample Code

Me.LockRight = True

See Also

UserGuide:Desktop Control Hierarchy