Class TMenuItemChecked
Unit
Declaration
type TMenuItemChecked = class(TMenuItem)
Description
TMenuItem that should visualize Checked state somehow to the user.
Hierarchy
- TObject
- TMenuEntry
- TMenuEntryWithCaption
- TMenuItem
- TMenuItemChecked
Overview
Methods
procedure SetChecked(Value: boolean); virtual; |
|
procedure DoAutoCheckedToggle; virtual; |
|
function DoClick: boolean; override; |
|
constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload; |
|
constructor Create(const ACaption: String; AIntData: Integer; const AKeyString: String; AChecked, AAutoCheckedToggle: boolean); overload; |
|
constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); overload; |
Properties
property Checked: boolean read FChecked write SetChecked; |
|
property AutoCheckedToggle: boolean read FAutoCheckedToggle
write FAutoCheckedToggle; |
Description
Methods
procedure SetChecked(Value: boolean); virtual; |
|
Called when Checked property is assigned. |
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. |
function DoClick: boolean; override; |
|
Overriden to handle AutoCheckedToggle. In this class, |
constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. |
constructor Create(const ACaption: String; AIntData: Integer; const AKeyString: String; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. |
constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); overload; |
|
This item has no description. |
Properties
property Checked: boolean read FChecked write SetChecked; |
|
This item has no description. |
property AutoCheckedToggle: boolean read FAutoCheckedToggle
write FAutoCheckedToggle; |
|
If |
Generated by PasDoc 0.16.0-snapshot.