BevelButton.LockRight

From Xojo Documentation

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

Supported for all project types and targets.

Determines whether the right edge of the control should stay at a set distance from the right edge of the owning window.