IRibbonPaletteButton.SelectedItem

Syntax

SelectedItem: Integer;

Description

The SelectedItem property determines index of the last selected button from the main set of graphic buttons.

Comments

Main set of graphic buttons is placed at the top of drop-down menu and is separated from other controls by separator. This property can be used in the Ribbon.OnChange event to determine which graphic button of the given control was used.

If -1 is set as a value, no button will be selected.

See also:

IRibbonPaletteButton