WebControl.LockHorizontal

From Xojo Documentation

Property (As Boolean )
aWebControl.LockHorizontal = newBooleanValue
or
BooleanValue = aWebControl.LockHorizontal

New in 2010r5

Supported for all project types and targets.

LockHorizontal overrides LockLeft and LockRight. It allows the developer to proportionally lock a control's position to the center of its parent control (or web page).

Notes

For example, if the developer places a control in the center of the page and sets both LockHorizontal and LockVertical, the control will stay in the center of the page.

The locking properties set at design-time, so they are effectively read-only at run-time.