TMenuItem.RadioItem property
Indicates if the menu item is displayed as a radio button.
Declaration
property RadioItem: Boolean read FRadioItem write SetRadioItem default False;Description
RadioItem is a
Boolean property which controls the
appearance and behavior for the menu item. When enabled, the menu item acts as
a radio button which is part of the group specified in the GroupIndex property.
Only one of the radio buttons for GroupIndex can be selected (Checked) at any
given time. The default value for the property is False, and indicates that the
menu item does not display radio button behavior.
RadioItem is used in conjunction with the AutoCheck property. AutoCheck indicates whether the Checked in toggled when the radio button menu item is executed.
Use ShowAlwaysCheckable if space is reserved for the checked icon even when the menu item is not Checked.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
