Default close button setting for new items.
Set_Property(OLECtrlEntID, "OLE.DefCloseButton", Value) |
Value must be true or false.
Default: false
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.
// Make close buttons the default for future items Set_Property(@Window:".OLE_TREE", "OLE.DefCloseButton", 1) |
CloseButtonBehavior, CloseButtonConditions, CloseButtonColors, and ItemCloseButton