APLX Help
: System Classes
: Properties
: align
|
|
![]() |
The 'align' property |
Integer scalar Valid for: All visible controls The align property can be used to force a control to be aligned along the whole of one of the edges of its parent, or to fill the whole contents area of its parent. It overrides the where property, and forces the control to be positioned hard against the edge. It also forces it to expand or contract to be the same height or width as the parent. You can set it to one of five values: 0 No alignment (default) 1 The control is aligned along the top edge of its parent 2 The control is aligned along the left edge of its parent 3 The control is aligned along the bottom edge of its parent 4 The control is aligned along the right edge of its parent ¯1 The control fills the whole client area of its parent For example, if you wanted a Browser control to fill the whole window, you could write: Win1←'⎕' ⎕NEW 'Window' ⋄ Win1.where←4 4 14 28 Win1.WebCtl.New 'Browser' ⋄ Win1.WebCtl.align←¯1 |
|
APLX Help
: System Classes
: Properties
: align
|
Copyright © 1996-2010 MicroAPL Ltd