IRibbonPaletteButton.SelectedItem

Fore Syntax

SelectedItem: Integer;

Fore.NET 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 it is separated from other control elements by separator. Using this property in the Ribbon.OnChange event it is possible 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