Class TMenuItemChecked

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMenuItemChecked = class(TMenuItem)

Description

TMenuItem that should visualize Checked state somehow to the user.

Hierarchy

Overview

Methods

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; ACharKey: char; 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

Public function DoClick: boolean; override;

Overriden to handle AutoCheckedToggle. In this class, DoClick still returns false (like in ancestor class).

Public constructor Create(const ACaption: String; AIntData: Integer; AChecked, AAutoCheckedToggle: boolean); overload;
 
Public constructor Create(const ACaption: String; AIntData: Integer; ACharKey: char; 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;

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