From Xojo Documentation

Revision as of 13:30, 24 April 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As Boolean )
BooleanValue = aWebUIControl.LockHorizontal

New in 2020r1

Supported for all project types and targets.

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


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