Default close button setting for new items.

Usage

Set_Property(OLECtrlEntID, "OLE.DefCloseButton", Value)

Values

Value must be true or false.

 Default: false

Remarks

The DefCloseButton property establishes the default close button 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 ItemCloseButton property for details.

The CloseButtonConditions property is a much easier way of setting check boxes.

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

Example

// Make close buttons the default for future items
Set_Property(@Window:".OLE_TREE", "OLE.DefCloseButton", 1)

See Also

CloseButtonBehavior, CloseButtonConditions, CloseButtonColors, and ItemCloseButton

  • No labels