Default data alignment for new items.
Usage
Set_Property(OLECtrlEntID, "OLE.DefAlignment", Array)
Values
Array has the following structure:
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Horizontal | Option | The default horizontal alignment for new items | Left |
<2> | Vertical | Option | The default vertical alignment for new items | Center |
Remarks
The DefAlignment property sets the alignment for new items. Setting this property will not change existing items. Instead, newly added items will take on the setting established in this property. See the ItemAlignment property for details.
For more information on how default properties can make you more efficient, see the Default Properties article.
Example
// Center justify new items Set_Property(@Window:".OLE_TREE", "OLE.DefAlignment", "Center":@FM:"Center")