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

Overview

Fields

Protected finfo: actioninfoty;
Protected foptions: actionoptionsty;

Methods

Protected procedure registeronshortcut(const avalue: boolean); virtual;
Protected procedure loaded; override;
Protected procedure changed;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure receiveevent(const event: tobjectevent) override;
Protected procedure doidle(var again: boolean);
Protected procedure doasyncevent(var atag: integer); override;
Protected procedure eventfired(const sender: tobject; const ainfo: actioninfoty);
Protected procedure doafterunlink; virtual;
Protected procedure dostatread(const reader: tstatreader);
Protected procedure dostatwrite(const writer: tstatwriter);
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure doupdate;
Public procedure execute(const force: boolean = false);
Public procedure asyncexecute();
Public procedure updateinfo(const sender: iactionlink);

Properties

Public property caption: captionty read getcaption write setcaption;
Public property state: actionstatesty read getstate write setstate default [];
Public property visible: boolean read getvisible write setvisible;
Public property enabled: boolean read getenabled write setenabled;
Public property checked: boolean read getchecked write setchecked;
Public property group: integer read getgroup write setgroup default 0;
Public property imagenr: imagenrty read finfo.imagenr write setimagenr default -1;
Public property imagenrdisabled: imagenrty read finfo.imagenrdisabled write setimagenrdisabled default -2;
Public property colorglyph: colorty read finfo.colorglyph write setcolorglyph default cl_default;
Public property color: colorty read finfo.color write setcolor default cl_default;
Public property imagecheckedoffset: integer read finfo.imagecheckedoffset write setimagecheckedoffset default 0;
Public property hint: msestring read finfo.hint write sethint;
Public property tagaction: integer read finfo.tag write settag default 0;
Public property options: actionoptionsty read foptions write setoptions default defaultactionoptions;
Public property statfile: tstatfile read fstatfile write setstatfile;
Public property statvarname: msestring read getstatvarname write fstatvarname;
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
Public property ifilink: tifiactionlinkcomp read fifilink write setifilink;
Public property onexecute: notifyeventty read finfo.onexecute write setonexecute;
Public property onbeforeexecute: accepteventty read finfo.onbeforeexecute write setonbeforeexecute;
Public property onafterexecute: notifyeventty read finfo.onafterexecute write setonafterexecute;
Public property onexecuteaction: actioneventty read fonexecuteaction write fonexecuteaction;
Public property onupdate: actioneventty read fonupdate write fonupdate;
Public property onchange: notifyeventty read fonchange write fonchange;
Public property onasyncevent: asynceventty read fonasyncevent write fonasyncevent;

Description

Fields

Protected finfo: actioninfoty;
 
Protected foptions: actionoptionsty;
 

Methods

Protected procedure registeronshortcut(const avalue: boolean); virtual;
 
Protected procedure loaded; override;
 
Protected procedure changed;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected procedure receiveevent(const event: tobjectevent) override;
 
Protected procedure doidle(var again: boolean);
 
Protected procedure doasyncevent(var atag: integer); override;
 
Protected procedure eventfired(const sender: tobject; const ainfo: actioninfoty);
 
Protected procedure doafterunlink; virtual;
 
Protected procedure dostatread(const reader: tstatreader);
 
Protected procedure dostatwrite(const writer: tstatwriter);
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure doupdate;
 
Public procedure execute(const force: boolean = false);
 
Public procedure asyncexecute();
 
Public procedure updateinfo(const sender: iactionlink);
 

Properties

Public property caption: captionty read getcaption write setcaption;
 
Public property state: actionstatesty read getstate write setstate default [];
 
Public property visible: boolean read getvisible write setvisible;
 
Public property enabled: boolean read getenabled write setenabled;
 
Public property checked: boolean read getchecked write setchecked;
 
Public property group: integer read getgroup write setgroup default 0;
 
Public property imagenr: imagenrty read finfo.imagenr write setimagenr default -1;
 
Public property imagenrdisabled: imagenrty read finfo.imagenrdisabled write setimagenrdisabled default -2;
 
Public property colorglyph: colorty read finfo.colorglyph write setcolorglyph default cl_default;
 
Public property color: colorty read finfo.color write setcolor default cl_default;
 
Public property imagecheckedoffset: integer read finfo.imagecheckedoffset write setimagecheckedoffset default 0;
 
Public property hint: msestring read finfo.hint write sethint;
 
Public property tagaction: integer read finfo.tag write settag default 0;
 
Public property options: actionoptionsty read foptions write setoptions default defaultactionoptions;
 
Public property statfile: tstatfile read fstatfile write setstatfile;
 
Public property statvarname: msestring read getstatvarname write fstatvarname;
 
Public property statpriority: integer read fstatpriority write fstatpriority default 0;
 
Public property ifilink: tifiactionlinkcomp read fifilink write setifilink;
 
Public property onexecute: notifyeventty read finfo.onexecute write setonexecute;
 
Public property onbeforeexecute: accepteventty read finfo.onbeforeexecute write setonbeforeexecute;
 
Public property onafterexecute: notifyeventty read finfo.onafterexecute write setonafterexecute;
 
Public property onexecuteaction: actioneventty read fonexecuteaction write fonexecuteaction;
 
Public property onupdate: actioneventty read fonupdate write fonupdate;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 
Public property onasyncevent: asynceventty read fonasyncevent write fonasyncevent;
 

Generated by PasDoc 0.16.0.