The layout of items within groups.
Usage
Set_Property(OLECtrlEntID, "OLE.Layout", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
Default | D | Uses the Behavior's default layout |
Images | I | Only item images appear and they are arranged left to right, then top to bottom |
ImagesWithText | IT | Images appear with text to the right, arranged top to bottom and aligned to the left |
ImagesWithTextBelow | ITB | Images appear with text beneath, arranged top to bottom and center aligned |
Default: Default
Remarks
The Layout property allows you to customize the arrangements of items within groups. This is a global property, so all groups will have the same layout.
First, note that one of the acceptable options is "Default", which uses the layout predetermined by the current value of the Behavior property.
The remaining values override the Behavior property's settings. Here is a visual chart showing the differences between the remaining options:
Example
// Set a custom layout Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.Layout", "ImagesWithTextBelow") // Let the Behavior property determine layout Set_Property(@Window:".OLE_SHORTCUTBAR", "OLE.Layout", "Default")