Beschreibung | Hierarchie | Felder | Methoden | Eigenschaften |
type TMenuItem = class(TLCLComponent)
![]() |
FCompStyle: LongInt; |
![]() |
constructor Create(TheOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function Find(const ACaption: string): TMenuItem; |
![]() |
function GetImageList: TCustomImageList; virtual; |
![]() |
function GetParentComponent: TComponent; override; |
![]() |
function GetParentMenu: TMenu; virtual; |
![]() |
function HandleAllocated : Boolean; |
![]() |
function HasIcon: boolean; virtual; |
![]() |
function HasParent: Boolean; override; |
![]() |
procedure InitiateAction; virtual; |
![]() |
function IndexOf(Item: TMenuItem): Integer; |
![]() |
function IndexOfCaption(const ACaption: string): Integer; virtual; |
![]() |
function VisibleIndexOf(Item: TMenuItem): Integer; |
![]() |
function IsCheckItem: boolean; virtual; |
![]() |
function IsLine: Boolean; |
![]() |
procedure Add(Item: TMenuItem); |
![]() |
procedure AddSeparator; |
![]() |
procedure Click; virtual; |
![]() |
procedure Delete(Index: Integer); |
![]() |
procedure HandleNeeded; virtual; |
![]() |
procedure Insert(Index: Integer; Item: TMenuItem); |
![]() |
procedure RecreateHandle; virtual; |
![]() |
procedure Remove(Item: TMenuItem); |
![]() |
function IsInMenuBar: boolean; virtual; |
![]() |
procedure Clear; |
![]() |
function HasBitmap: boolean; |
![]() |
function GetIconSize: TPoint; virtual; |
![]() |
procedure RemoveAllHandlersOfObject(AnObject: TObject); override; |
![]() |
procedure AddHandlerOnDestroy(const OnDestroyEvent: TNotifyEvent; AsLast: boolean = false); |
![]() |
procedure RemoveHandlerOnDestroy(const OnDestroyEvent: TNotifyEvent); |
![]() |
procedure AddHandler(HandlerType: TMenuItemHandlerType; const AMethod: TMethod; AsLast: boolean); |
![]() |
procedure RemoveHandler(HandlerType: TMenuItemHandlerType; const AMethod: TMethod); |
![]() |
function MenuVisibleIndex: integer; |
![]() |
procedure WriteDebugReport(const Prefix: string); |
![]() |
property Count: Integer read GetCount; |
![]() |
property Handle: HMenu read GetHandle write FHandle; |
![]() |
property Items[Index: Integer]: TMenuItem read GetItem; |
![]() |
property MenuIndex: Integer read GetMenuIndex write SetMenuIndex; |
![]() |
property Parent: TMenuItem read GetParent; |
![]() |
property Command: integer read FCommand; |
![]() |
property Action: TBasicAction read GetAction write SetAction; |
![]() |
property AutoCheck: boolean read FAutoCheck write SetAutoCheck default False; |
![]() |
property Caption: String read FCaption write SetCaption
stored IsCaptionStored; |
![]() |
property Checked: Boolean read FChecked write SetChecked
stored IsCheckedStored default False; |
![]() |
property Default: Boolean read FDefault write SetDefault default False; |
![]() |
property Enabled: Boolean read FEnabled write SetEnabled
stored IsEnabledStored default True; |
![]() |
property Bitmap: TBitmap read GetBitmap write SetBitmap stored IsBitmapStored; |
![]() |
property GroupIndex: Byte read FGroupIndex write SetGroupIndex default 0; |
![]() |
property HelpContext: THelpContext read FHelpContext write FHelpContext
stored IsHelpContextStored default 0; |
![]() |
property Hint: String read FHint write FHint stored IsHintStored; |
![]() |
property ImageIndex: Integer read FImageIndex write SetImageIndex
stored IsImageIndexStored default -1; |
![]() |
property RadioItem: Boolean read FRadioItem write SetRadioItem
default False; |
![]() |
property RightJustify: boolean read FRightJustify write SetRightJustify; |
![]() |
property ShortCut: TShortCut read FShortCut write SetShortCut
stored IsShortCutStored default 0; |
![]() |
property ShowAlwaysCheckable: boolean read FShowAlwaysCheckable
write SetShowAlwaysCheckable; |
![]() |
property SubMenuImages: TCustomImageList read FSubMenuImages
write SetSubMenuImages; |
![]() |
property Visible: Boolean read FVisible write SetVisible
stored IsVisibleStored default True; |
![]() |
property OnClick: TNotifyEvent read FOnClick write FOnClick
stored IsOnClickStored; |
![]() |
FCompStyle: LongInt; |
![]() |
constructor Create(TheOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function Find(const ACaption: string): TMenuItem; |
![]() |
function GetImageList: TCustomImageList; virtual; |
![]() |
function GetParentComponent: TComponent; override; |
![]() |
function GetParentMenu: TMenu; virtual; |
![]() |
function HandleAllocated : Boolean; |
![]() |
function HasIcon: boolean; virtual; |
![]() |
function HasParent: Boolean; override; |
![]() |
procedure InitiateAction; virtual; |
![]() |
function IndexOf(Item: TMenuItem): Integer; |
![]() |
function IndexOfCaption(const ACaption: string): Integer; virtual; |
![]() |
function VisibleIndexOf(Item: TMenuItem): Integer; |
![]() |
function IsCheckItem: boolean; virtual; |
![]() |
function IsLine: Boolean; |
![]() |
procedure Add(Item: TMenuItem); |
![]() |
procedure AddSeparator; |
![]() |
procedure Click; virtual; |
![]() |
procedure Delete(Index: Integer); |
![]() |
procedure HandleNeeded; virtual; |
![]() |
procedure Insert(Index: Integer; Item: TMenuItem); |
![]() |
procedure RecreateHandle; virtual; |
![]() |
procedure Remove(Item: TMenuItem); |
![]() |
function IsInMenuBar: boolean; virtual; |
![]() |
procedure Clear; |
![]() |
function HasBitmap: boolean; |
![]() |
function GetIconSize: TPoint; virtual; |
![]() |
procedure RemoveAllHandlersOfObject(AnObject: TObject); override; |
![]() |
procedure AddHandlerOnDestroy(const OnDestroyEvent: TNotifyEvent; AsLast: boolean = false); |
![]() |
procedure RemoveHandlerOnDestroy(const OnDestroyEvent: TNotifyEvent); |
![]() |
procedure AddHandler(HandlerType: TMenuItemHandlerType; const AMethod: TMethod; AsLast: boolean); |
![]() |
procedure RemoveHandler(HandlerType: TMenuItemHandlerType; const AMethod: TMethod); |
![]() |
function MenuVisibleIndex: integer; |
![]() |
procedure WriteDebugReport(const Prefix: string); |
![]() |
property Count: Integer read GetCount; |
![]() |
property Handle: HMenu read GetHandle write FHandle; |
![]() |
property Items[Index: Integer]: TMenuItem read GetItem; |
![]() |
property MenuIndex: Integer read GetMenuIndex write SetMenuIndex; |
![]() |
property Parent: TMenuItem read GetParent; |
![]() |
property Command: integer read FCommand; |
![]() |
property Action: TBasicAction read GetAction write SetAction; |
![]() |
property AutoCheck: boolean read FAutoCheck write SetAutoCheck default False; |
![]() |
property Caption: String read FCaption write SetCaption
stored IsCaptionStored; |
![]() |
property Checked: Boolean read FChecked write SetChecked
stored IsCheckedStored default False; |
![]() |
property Default: Boolean read FDefault write SetDefault default False; |
![]() |
property Enabled: Boolean read FEnabled write SetEnabled
stored IsEnabledStored default True; |
![]() |
property Bitmap: TBitmap read GetBitmap write SetBitmap stored IsBitmapStored; |
![]() |
property GroupIndex: Byte read FGroupIndex write SetGroupIndex default 0; |
![]() |
property HelpContext: THelpContext read FHelpContext write FHelpContext
stored IsHelpContextStored default 0; |
![]() |
property Hint: String read FHint write FHint stored IsHintStored; |
![]() |
property ImageIndex: Integer read FImageIndex write SetImageIndex
stored IsImageIndexStored default -1; |
![]() |
property RadioItem: Boolean read FRadioItem write SetRadioItem
default False; |
![]() |
property RightJustify: boolean read FRightJustify write SetRightJustify; |
![]() |
property ShortCut: TShortCut read FShortCut write SetShortCut
stored IsShortCutStored default 0; |
![]() |
property ShowAlwaysCheckable: boolean read FShowAlwaysCheckable
write SetShowAlwaysCheckable; |
![]() |
property SubMenuImages: TCustomImageList read FSubMenuImages
write SetSubMenuImages; |
![]() |
property Visible: Boolean read FVisible write SetVisible
stored IsVisibleStored default True; |
![]() |
property OnClick: TNotifyEvent read FOnClick write FOnClick
stored IsOnClickStored; |