Castle Game Engine: CastleWindow: Class TMenuItemChecked

# Class TMenuItemChecked
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleWindow ## Declaration `type TMenuItemChecked = class(TMenuItem)` ## Description TMenuItem that should visualize Checked state somehow to the user. ## Hierarchy TObject TMenuEntry TMenuEntryWithCaption TMenuItem TMenuItemChecked ## Overview ### Methods
| `function DoClick: boolean; override;`
| `constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload;`
| `constructor Create(const ACaption: String; AIntData: Integer; ACharKey: char; 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
| `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); overload;`
| `constructor Create(const ACaption: String; AIntData: Integer; ACharKey: char; 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;`
If `True` then each time user chooses this menu item, Checked is changed to `not Checked`.
Generated by PasDoc 0.13.0 on 2013-08-17 21:27:15