DesktopContainer.LockTop

From Xojo Documentation

Property (As Boolean )
aDesktopContainer.LockTop = newBooleanValue
or
BooleanValue = aDesktopContainer.LockTop

New in 2021r3

Supported for all project types and targets.

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

Sample Code

Me.LockTop = True


See Also

UserGuide:Desktop Control Hierarchy