Default data alignment for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefAlignment", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>HorizontalOptionThe default horizontal alignment for new itemsLeft
<2>VerticalOptionThe default vertical alignment for new itemsCenter

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")

See Also

ItemAlignment

  • No labels