Class TMenuItemChecked
Unit
Declaration
type TMenuItemChecked = class(TMenuItem)
Description
TMenuItem that should visualize Checked state somehow to the user.
Source: window/castlewindowmenu.inc (line 327).
Hierarchy
- TObject
- TMenuEntry
- TMenuEntryWithCaption
- TMenuItem
- TMenuItemChecked
Overview
Methods
| Protected | procedure SetChecked(Value: boolean); virtual; |
| Protected | procedure DoAutoCheckedToggle; virtual; |
| Public | function DoClick: boolean; override; |
| Public | constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload; |
| Public | constructor Create(const ACaption: String; AIntData: Integer; const AKeyString: String; AChecked, AAutoCheckedToggle: boolean); overload; |
| Public | constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); overload; |
Properties
| Public | property Checked: boolean read FChecked write SetChecked; |
| Public | property AutoCheckedToggle: boolean read FAutoCheckedToggle
write FAutoCheckedToggle; |
Description
Methods
| Protected | procedure SetChecked(Value: boolean); virtual; |
|
Called when Checked property is assigned. | |
| Protected | procedure DoAutoCheckedToggle; virtual; |
|
Called from DoClick when AutoCheckedToggle is Note that this is overriden ina a "dirty" way (i.e. not calling "inherited") in TMenuItemRadio descendant. | |
| Public | function DoClick: boolean; override; |
|
Overriden to handle AutoCheckedToggle. In this class, | |
| Public | constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. | |
| Public | constructor Create(const ACaption: String; AIntData: Integer; const AKeyString: String; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. | |
| Public | constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. | |
Properties
| Public | property Checked: boolean read FChecked write SetChecked; |
|
This item has no description. | |
| Public | property AutoCheckedToggle: boolean read FAutoCheckedToggle
write FAutoCheckedToggle; |
|
If | |
Generated by PasDoc 0.17.0.snapshot.