Default enabled state for new items.

Usage

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

Values

[True | False]

Default: True

Remarks

The DefEnabled property establishes the default enabled state 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 ItemEnabled property for details.

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

Example

// Make all new items disabled by default  
Set_Property(@Window:".OLE_TREE", "OLE.DefEnabled", 0)

See Also

ItemEnabledDefVisible

  • No labels