Default sort setting for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefSort", OptionValue)

Values

OptionValue can be set to one of the following valid options:

ValueAbbr.Description
NoneNThe new items' children are not sorted
AscendingAThe new items' children are sorted in ascending order
DescendingDThe new items' children are sorting in descending order

Default: None

Remarks

The DefSort property establishes the default sorting of 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 ItemSort property for details.

For more information on how default properties can make you more efficient, see the Default Properties article.

Example

// Sort new items in ascending order 
Set_Property(@Window:".OLE_TREE", "OLE.DefSort", "Ascending")

See Also

ItemSortDefTypeSort

  • No labels