Class TMenuItemChecked
Unit
CastleWindow
Declaration
type TMenuItemChecked = class(TMenuItem)
Description
TMenuItem that should visualize Checked state somehow to the user.
Hierarchy
Overview
Methods
 |
procedure SetChecked(Value: boolean); virtual; |
 |
procedure DoAutoCheckedToggle; virtual; |
 |
function DoClick: boolean; override; |
 |
constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); |
 |
constructor Create(const ACaption: String; AIntData: Integer; ACharKey: char; AChecked, AAutoCheckedToggle: boolean); |
 |
constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); |
Properties
Description
Methods
 |
procedure SetChecked(Value: boolean); virtual; |
Called when Checked property is assigned.
|
 |
function DoClick: boolean; override; |
Overriden to handle AutoCheckedToggle. In this class, DoClick still returns false (like in ancestor class).
|
 |
constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); |
|
 |
constructor Create(const ACaption: String; AIntData: Integer; ACharKey: char; AChecked, AAutoCheckedToggle: boolean); |
|
 |
constructor Create(const ACaption: String; AIntData: Integer; AKey: TKey; AChecked, AAutoCheckedToggle: boolean); |
|
Properties
 |
property Checked: boolean read FChecked write SetChecked; |
|
 |
property AutoCheckedToggle: boolean read FAutoCheckedToggle
write FAutoCheckedToggle; |
If True then each time user chooses this menu item, Checked is changed to not Checked .
|
Generated by PasDoc 0.15.0.
|