Align property


Available for Picture, ToolBar, StatusBar and Rebar objects.

Read/Write at design time
Read/Write at run time

Specifies whether an object appears aligned inside its parent or not. It can be one of the following values:

0  None (default)
1  Top
2  Bottom
3  Left
4  Right

When there is no alignment, an object may appear on any part of its parent client area. On the other hand, when aligned, an object remains aligned, resizes automatically when its parent do and cannot be moved.


REMARKS
: When inside an MDIWindow object, Picture, ToolBar, StatusBar and Rebar objects have to be aligned, that is, this property has to be set to any other value than None.