Versions Compared

Key

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

...

The ItemCaption property sets an item's label. Text too long to fit within the item's bounds will be truncated with an ellipsis.

If the Layout property is set to "Images", then the label will not be displayed.

...

Code Block
// Set the label of a single item 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.ItemCaption[1; 1]", "Item 1") 

// Remove all items labels 
Set_Property(@Window:".OLE_SHORTCUT", "OLE.ItemCaption[All; All]", "")

See Also

GroupCaptionLayout