Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The ItemCloseButton property establishes whether or not there is close button in the item. By default, this property is set to false and no close button appears. However, you can set this property to true to make a one appear on the right side of the item.

The CloseButtonConditions property is a much easier way of setting check boxes. Use this property only if you plan to show check boxes for all items or if you need very specific control over which items have check boxes.

TIP: Use the DefCloseButton property to set the default close button setting for new items.

...

Code Block
// Show a close button for the item whose key is "Item1" 
Set_Property(@Window:".OLE_TREE", "OLE.ItemCloseButton[Item1]", 1)

See Also

CloseButtonBehavior, CloseButtonConditions, CloseButtonColors, and DefCloseButton