Class tmenuitem

Unit

Declaration

type tmenuitem = class(teventpersistent, iactionlink, imenuitem, iimagelistinfo, iassistiveclientmenu)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected finfo: actioninfoty;
Protected fowner: tcustommenu;
Protected fsubmenu: tmenuitems;
Protected ffont: tmenufont;
Protected ffontactive: tmenufontactive;
Protected factiveitem: int32;

Methods

Protected function getactiveitem(out aitem: tmenuitem): boolean;
Protected procedure updatecaption;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure befexec;
Protected function doexec: boolean;
Protected function getiassistiveclient(): iassistiveclientmenu virtual;
Protected function getassistiveparent(): iassistiveclient;
Protected function getassistivewidget(): tobject;
Protected function getassistivename(): msestring; virtual;
Protected function getassistivecaption(): msestring; virtual;
Protected function getassistivetext(): msestring; virtual;
Protected function getassistivecaretindex(): int32; virtual;
Protected function getassistivehint(): msestring; virtual;
Protected function getassistiveflags(): assistiveflagsty; virtual;
Protected function getifidatalinkintf(): iifidatalink; virtual;
Protected function getassistiveselfcaption(): msestring;
Protected function getassistiveselfname(): msestring;
Protected function getassistiveselfhint(): msestring;
Protected function getactioninfopo: pactioninfoty;
Protected function loading: boolean;
Protected function shortcutseparator: msechar;
Protected procedure calccaptiontext(var ainfo: actioninfoty);
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure receiveevent(const event: tobjectevent); override;
Protected function internalexecute(async: boolean): boolean;
Protected function canshowhint: boolean;
Public constructor create(const parentmenu: tmenuitem = nil; const aowner: tcustommenu = nil); reintroduce;
Public destructor destroy; override;
Public procedure assign(source: tpersistent); override;
Public procedure beginload;
Public procedure endload;
Public procedure doupdate;
Public procedure updatehotkeys();
Public procedure doshortcut(var info: keyeventinfoty);
Public function count: integer;
Public function hasvisibleitem: boolean;
Public function parentmenu: tmenuitem;
Public function actualcolor: colorty;
Public function actualcoloractive: colorty;
Public function actualcolorglyph: colorty;
Public function actualcolorglyphactive: colorty;
Public function execute: boolean;
Public function asyncexecute: boolean;
Public function canactivate: boolean;
Public function canshow: boolean;
Public procedure createfont;
Public procedure createfontactive;
Public function itembyname(const name: string): tmenuitem;
Public function itembynames(const names: array of string): tmenuitem;
Public procedure deleteitembynames(const names: array of string);
Public function index: integer;

Properties

Public property owner: tcustommenu read fowner;
Public property onchange: menuitemeventty read fonchange write fonchange;
Public property items[const index: integer]: tmenuitem read getitems write setitems;
Public property checkedtag: integer read getcheckedtag write setcheckedtag;
Public property checked: boolean read getchecked write setchecked;
Public property enabled: boolean read getenabled write setenabled;
Public property visible: boolean read getvisible write setvisible;
Public property tagpo: pointer read finfo.tagpo write finfo.tagpo;
Public property tagpointer: pointer read finfo.tagpo write finfo.tagpo; deprecated 'Use tagpo instead';
Public property shortcuts: shortcutarty read finfo.shortcut write setshortcuts;
Public property shortcuts1: shortcutarty read finfo.shortcut1 write setshortcuts1;
Published property action: tcustomaction read finfo.action write setaction;
Published property submenu: tmenuitems read getsubmenu write setsubmenu;
Published property caption: captionty read finfo.captiontext write setcaption stored iscaptionstored;
Published property hint: msestring read finfo.hint write sethint stored ishintstored;
Published property name: string read fname write fname;
Published property state: actionstatesty read finfo.state write setstate stored isstatestored default [];
Published property options: menuactionoptionsty read finfo.options write setoptions default defaultmenuactoptions;
Published property shortcut: shortcutty read getshortcut write setshortcut stored false default 0;
Published property shortcut1: shortcutty read getshortcut1 write setshortcut1 stored false default 0;
Published property tag: integer read finfo.tag write settag stored istagstored default 0;
Published property group: integer read finfo.group write setgroup stored isgroupstored default 0;
Published property imagelist: timagelist read getimagelist write setimagelist stored isimageliststored;
Published property imagenr: imagenrty read finfo.imagenr write setimagenr stored isimagenrstored default -1;
Published property imagenrdisabled: imagenrty read finfo.imagenrdisabled write setimagenrdisabled stored isimagenrdisabledstored default -2;
Published property color: colorty read finfo.color write setcolor stored iscolorstored default cl_default;
Published property coloractive: colorty read fcoloractive write setcoloractive default cl_default;
Published property colorglyph: colorty read finfo.colorglyph write setcolorglyph stored iscolorglyphstored default cl_default;
Published property colorglyphactive: colorty read fcolorglyphactive write setcolorglyphactive default cl_default;
Published property font: tmenufont read getfont write setfont stored isfontstored;
Published property fontactive: tmenufontactive read getfontactive write setfontactive stored isfontactivestored;
Published property onexecute: notifyeventty read finfo.onexecute write setonexecute stored isonexecutestored;
Published property onbeforeexecute: accepteventty read finfo.onbeforeexecute write setonbeforeexecute stored isonbeforeexecutestored;
Published property onafterexecute: notifyeventty read finfo.onafterexecute write setonafterexecute stored isonafterexecutestored;

Description

Fields

Protected finfo: actioninfoty;

This item has no description.

Protected fowner: tcustommenu;

This item has no description.

Protected fsubmenu: tmenuitems;

This item has no description.

Protected ffont: tmenufont;

This item has no description.

Protected ffontactive: tmenufontactive;

This item has no description.

Protected factiveitem: int32;

This item has no description.

Methods

Protected function getactiveitem(out aitem: tmenuitem): boolean;

This item has no description.

Protected procedure updatecaption;

This item has no description.

Protected procedure defineproperties(filer: tfiler); override;

This item has no description.

Protected procedure befexec;

This item has no description.

Protected function doexec: boolean;

This item has no description.

Protected function getiassistiveclient(): iassistiveclientmenu virtual;

This item has no description.

Protected function getassistiveparent(): iassistiveclient;

This item has no description.

Protected function getassistivewidget(): tobject;

This item has no description.

Protected function getassistivename(): msestring; virtual;

This item has no description.

Protected function getassistivecaption(): msestring; virtual;

This item has no description.

Protected function getassistivetext(): msestring; virtual;

This item has no description.

Protected function getassistivecaretindex(): int32; virtual;

This item has no description.

Protected function getassistivehint(): msestring; virtual;

This item has no description.

Protected function getassistiveflags(): assistiveflagsty; virtual;

This item has no description.

Protected function getifidatalinkintf(): iifidatalink; virtual;

This item has no description.

Protected function getassistiveselfcaption(): msestring;

This item has no description.

Protected function getassistiveselfname(): msestring;

This item has no description.

Protected function getassistiveselfhint(): msestring;

This item has no description.

Protected function getactioninfopo: pactioninfoty;

This item has no description.

Protected function loading: boolean;

This item has no description.

Protected function shortcutseparator: msechar;

This item has no description.

Protected procedure calccaptiontext(var ainfo: actioninfoty);

This item has no description.

Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;

This item has no description.

Protected procedure receiveevent(const event: tobjectevent); override;

This item has no description.

Protected function internalexecute(async: boolean): boolean;

This item has no description.

Protected function canshowhint: boolean;

This item has no description.

Public constructor create(const parentmenu: tmenuitem = nil; const aowner: tcustommenu = nil); reintroduce;

This item has no description.

Public destructor destroy; override;

This item has no description.

Public procedure assign(source: tpersistent); override;

This item has no description.

Public procedure beginload;

This item has no description.

Public procedure endload;

This item has no description.

Public procedure doupdate;

This item has no description.

Public procedure updatehotkeys();

This item has no description.

Public procedure doshortcut(var info: keyeventinfoty);

This item has no description.

Public function count: integer;

This item has no description.

Public function hasvisibleitem: boolean;

This item has no description.

Public function parentmenu: tmenuitem;

This item has no description.

Public function actualcolor: colorty;

This item has no description.

Public function actualcoloractive: colorty;

This item has no description.

Public function actualcolorglyph: colorty;

This item has no description.

Public function actualcolorglyphactive: colorty;

This item has no description.

Public function execute: boolean;

This item has no description.

Public function asyncexecute: boolean;

This item has no description.

Public function canactivate: boolean;

This item has no description.

Public function canshow: boolean;

This item has no description.

Public procedure createfont;

This item has no description.

Public procedure createfontactive;

This item has no description.

Public function itembyname(const name: string): tmenuitem;

This item has no description.

Public function itembynames(const names: array of string): tmenuitem;

This item has no description.

Public procedure deleteitembynames(const names: array of string);

This item has no description.

Public function index: integer;

This item has no description.

Properties

Public property owner: tcustommenu read fowner;

This item has no description.

Public property onchange: menuitemeventty read fonchange write fonchange;

This item has no description.

Public property items[const index: integer]: tmenuitem read getitems write setitems;

This item has no description.

Public property checkedtag: integer read getcheckedtag write setcheckedtag;

This item has no description.

Public property checked: boolean read getchecked write setchecked;

This item has no description.

Public property enabled: boolean read getenabled write setenabled;

This item has no description.

Public property visible: boolean read getvisible write setvisible;

This item has no description.

Public property tagpo: pointer read finfo.tagpo write finfo.tagpo;

This item has no description.

Public property tagpointer: pointer read finfo.tagpo write finfo.tagpo; deprecated 'Use tagpo instead';

Warning: this symbol is deprecated: Use tagpo instead

This item has no description.

Public property shortcuts: shortcutarty read finfo.shortcut write setshortcuts;

This item has no description.

Public property shortcuts1: shortcutarty read finfo.shortcut1 write setshortcuts1;

This item has no description.

Published property action: tcustomaction read finfo.action write setaction;

This item has no description.

Published property submenu: tmenuitems read getsubmenu write setsubmenu;

This item has no description.

Published property caption: captionty read finfo.captiontext write setcaption stored iscaptionstored;

This item has no description.

Published property hint: msestring read finfo.hint write sethint stored ishintstored;

This item has no description.

Published property name: string read fname write fname;

This item has no description.

Published property state: actionstatesty read finfo.state write setstate stored isstatestored default [];

This item has no description.

Published property options: menuactionoptionsty read finfo.options write setoptions default defaultmenuactoptions;

This item has no description.

Published property shortcut: shortcutty read getshortcut write setshortcut stored false default 0;

This item has no description.

Published property shortcut1: shortcutty read getshortcut1 write setshortcut1 stored false default 0;

This item has no description.

Published property tag: integer read finfo.tag write settag stored istagstored default 0;

This item has no description.

Published property group: integer read finfo.group write setgroup stored isgroupstored default 0;

This item has no description.

Published property imagelist: timagelist read getimagelist write setimagelist stored isimageliststored;

This item has no description.

Published property imagenr: imagenrty read finfo.imagenr write setimagenr stored isimagenrstored default -1;

This item has no description.

Published property imagenrdisabled: imagenrty read finfo.imagenrdisabled write setimagenrdisabled stored isimagenrdisabledstored default -2;

This item has no description.

Published property color: colorty read finfo.color write setcolor stored iscolorstored default cl_default;

This item has no description.

Published property coloractive: colorty read fcoloractive write setcoloractive default cl_default;

This item has no description.

Published property colorglyph: colorty read finfo.colorglyph write setcolorglyph stored iscolorglyphstored default cl_default;

This item has no description.

Published property colorglyphactive: colorty read fcolorglyphactive write setcolorglyphactive default cl_default;

This item has no description.

Published property font: tmenufont read getfont write setfont stored isfontstored;

This item has no description.

Published property fontactive: tmenufontactive read getfontactive write setfontactive stored isfontactivestored;

This item has no description.

Published property onexecute: notifyeventty read finfo.onexecute write setonexecute stored isonexecutestored;

This item has no description.

Published property onbeforeexecute: accepteventty read finfo.onbeforeexecute write setonbeforeexecute stored isonbeforeexecutestored;

This item has no description.

Published property onafterexecute: notifyeventty read finfo.onafterexecute write setonafterexecute stored isonafterexecutestored;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.