Unit 'mseact' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#msegui]

tcustomaction

[Properties (by Name)] [Methods (by Name)]

Declaration

Source position: mseact.pas line 179

type tcustomaction = class(tactcomponent,istatfile,iifiexeclink)

public

  constructor create(); override;

  destructor destroy; override;

  procedure doupdate;

  procedure execute();

  procedure asyncexecute;

  procedure updateinfo();

  property caption: captionty; [rw]

  

When this action is assigned to a client's action property (e.g. tbutton.action or tmenuitem.action), the client's caption, imagelist, imagenr, imagecheckedoffset, colorglyph, color, hint, shortcut, tag, group and onexecute, as well as the as_disabled, as_invisible, as_checked and as_default members of state, are kept synchronized with this action

  property state: actionstatesty; [rw]

  property visible: Boolean; [rw]

  property enabled: Boolean; [rw]

  property checked: Boolean; [rw]

  property group: Integer; [rw]

  property imagenr: imagenrty; [rw]

  property imagenrdisabled: imagenrty; [rw]

  property colorglyph: colorty; [rw]

  property color: colorty; [rw]

  property imagecheckedoffset: Integer; [rw]

  property hint: msestring; [rw]

  property tagaction: Integer; [rw]

  property options: actionoptionsty; [rw]

  property statfile: tstatfile; [rw]

  property statvarname: msestring; [rw]

  property statpriority: Integer; [rw]

  property ifilink: tifiactionlinkcomp; [rw]

  property onexecute: notifyeventty; [rw]

  property onbeforeexecute: accepteventty; [rw]

  property onafterexecute: notifyeventty; [rw]

  property onexecuteaction: actioneventty; [rw]

  property onupdate: actioneventty; [rw]

  property onchange: notifyeventty; [rw]

  property onasyncevent: asynceventty; [rw]

  

Called after the current main event loop round has finished processing the events posted with asyncevent, i.e. after the caller

end;

Inheritance

tcustomaction

|

tactcomponent,istatfile,iifiexeclink

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject


Documentation generated on: 2026-10-03