FMX.Menus.TMenuItem.GroupIndex
Delphi
property GroupIndex: Integer read GetGroupIndex write SetGroupIndex stored GroupNameStored default 0;
C++
__property int GroupIndex = {read=GetGroupIndex, write=SetGroupIndex, stored=GroupNameStored, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TMenuItem |
Description
Identifies the group of TMenuItems to which this TMenuItem belongs.
A group of TMenuItems represents a set of TMenuItem objects belonging to the same pop-up menu, out of which only one TMenuItem, having the RadioItem property set to True, can be selected.
Note: TMenuItems belonging to different pop-up menus (that do not have the same value for the Parent property) can be simultaneously selected, even if their RadioItem property is True.
Note: By default, all TMenuItems belonging to the same pop-up menu have the same value for the GroupIndex property.