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:

ValueAbbr.Description
NoneNNo check box
LeftLShow a check box on the left side of the new item
RightRShow 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")

See Also

ItemCheckBoxCheckBoxConditions

  • No labels