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 DoCommand: 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 DoCommand: boolean; override;

This always returns false. It is overriden here only to handle AutoCheckedToggle

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;

true means that each time user chooses this menu item, Checked is changed to not Checked.


Generated by PasDoc 0.12.1 on 2013-02-04 20:26:53