Default check box setting for new items.
Usage
Set_Property(OLECtrlEntID, "OLE.DefCheckBox", OptionValue
Values
OptionValue can be set to one of the following valid options:
Value | Abbr. | Description |
---|---|---|
None | N | No check box |
Left | L | Show a check box on the left side of the new item |
Right | R | Show a check box on the right side of the new item |
Default: None
Remarks
The DefCheckBox property establishes the default check box 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 ItemCheckBox property for details.
The CheckBoxConditions 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 right-side check boxes the default Set_Property(@Window:".OLE_TREE", "OLE.DefCheckBox", "Right")