Default expandable setting for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefExpandable", Boolean)

Values

[True | False]

Default: True

Remarks

The DefExpandable property establishes the default expandable setting 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 ItemExpandable property for details.

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

Example

// Prevent the user from expanding any new items 
Set_Property(@Window:".OLE_TREE", "OLE.DefExpandable", 0)

See Also

ItemExpandableDefExpanded

  • No labels