WebControl.LockVertical

From Xojo Documentation

Revision as of 15:28, 1 May 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Property (As Boolean )
aWebControl.LockVertical = newBooleanValue
or
BooleanValue = aWebControl.LockVertical

New in 2010r5

Supported for all project types and targets.

LockVertical overrides LockTop and LockBottom. It allows the developer to proportionally lock a control's position to keep it centered within the 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.