Class tcustomaction
Unit
Declaration
type tcustomaction = class(tactcomponent, istatfile, iifiexeclink)
Description
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tcustomaction
Overview
Fields
finfo: actioninfoty; |
|
foptions: actionoptionsty; |
Methods
procedure registeronshortcut(const avalue: boolean); virtual; |
|
procedure loaded; override; |
|
procedure changed; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure receiveevent(const event: tobjectevent) override; |
|
procedure doidle(var again: boolean); |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure eventfired(const sender: tobject; const ainfo: actioninfoty); |
|
procedure doafterunlink; virtual; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure doupdate; |
|
procedure execute(const force: boolean = false); |
|
procedure asyncexecute(); |
|
procedure updateinfo(const sender: iactionlink); |
Properties
property caption: captionty read getcaption write setcaption; |
|
property state: actionstatesty read getstate write setstate default []; |
|
property visible: boolean read getvisible write setvisible; |
|
property enabled: boolean read getenabled write setenabled; |
|
property checked: boolean read getchecked write setchecked; |
|
property group: integer read getgroup write setgroup default 0; |
|
property imagenr: imagenrty read finfo.imagenr write setimagenr default -1; |
|
property imagenrdisabled: imagenrty read finfo.imagenrdisabled
write setimagenrdisabled default -2; |
|
property colorglyph: colorty read finfo.colorglyph
write setcolorglyph default cl_default; |
|
property color: colorty read finfo.color write setcolor default cl_default; |
|
property imagecheckedoffset: integer read finfo.imagecheckedoffset
write setimagecheckedoffset default 0; |
|
property hint: msestring read finfo.hint write sethint; |
|
property tagaction: integer read finfo.tag write settag default 0; |
|
property options: actionoptionsty read foptions write setoptions
default defaultactionoptions; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property ifilink: tifiactionlinkcomp read fifilink write setifilink; |
|
property onexecute: notifyeventty read finfo.onexecute write setonexecute; |
|
property onbeforeexecute: accepteventty read finfo.onbeforeexecute
write setonbeforeexecute; |
|
property onafterexecute: notifyeventty read finfo.onafterexecute
write setonafterexecute; |
|
property onexecuteaction: actioneventty read fonexecuteaction write fonexecuteaction; |
|
property onupdate: actioneventty read fonupdate write fonupdate; |
|
property onchange: notifyeventty read fonchange write fonchange; |
|
property onasyncevent: asynceventty read fonasyncevent write fonasyncevent; |
Description
Fields
finfo: actioninfoty; |
|
foptions: actionoptionsty; |
|
Methods
procedure registeronshortcut(const avalue: boolean); virtual; |
|
procedure loaded; override; |
|
procedure changed; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure receiveevent(const event: tobjectevent) override; |
|
procedure doidle(var again: boolean); |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure eventfired(const sender: tobject; const ainfo: actioninfoty); |
|
procedure doafterunlink; virtual; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure doupdate; |
|
procedure execute(const force: boolean = false); |
|
procedure asyncexecute(); |
|
procedure updateinfo(const sender: iactionlink); |
|
Properties
property caption: captionty read getcaption write setcaption; |
|
property state: actionstatesty read getstate write setstate default []; |
|
property visible: boolean read getvisible write setvisible; |
|
property enabled: boolean read getenabled write setenabled; |
|
property checked: boolean read getchecked write setchecked; |
|
property group: integer read getgroup write setgroup default 0; |
|
property imagenr: imagenrty read finfo.imagenr write setimagenr default -1; |
|
property imagenrdisabled: imagenrty read finfo.imagenrdisabled
write setimagenrdisabled default -2; |
|
property colorglyph: colorty read finfo.colorglyph
write setcolorglyph default cl_default; |
|
property color: colorty read finfo.color write setcolor default cl_default; |
|
property imagecheckedoffset: integer read finfo.imagecheckedoffset
write setimagecheckedoffset default 0; |
|
property hint: msestring read finfo.hint write sethint; |
|
property tagaction: integer read finfo.tag write settag default 0; |
|
property options: actionoptionsty read foptions write setoptions
default defaultactionoptions; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property ifilink: tifiactionlinkcomp read fifilink write setifilink; |
|
property onexecute: notifyeventty read finfo.onexecute write setonexecute; |
|
property onbeforeexecute: accepteventty read finfo.onbeforeexecute
write setonbeforeexecute; |
|
property onafterexecute: notifyeventty read finfo.onafterexecute
write setonafterexecute; |
|
property onexecuteaction: actioneventty read fonexecuteaction write fonexecuteaction; |
|
property onupdate: actioneventty read fonupdate write fonupdate; |
|
property onchange: notifyeventty read fonchange write fonchange; |
|
property onasyncevent: asynceventty read fonasyncevent write fonasyncevent; |
|
Generated by PasDoc 0.16.0.