Unit 'msesimplewidgets' Package
[Overview][Constants][Types][Classes][Index] [#msegui]

tcustombutton

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

Declaration

Source position: msesimplewidgets.pas line 82

type tcustombutton = class(tactionsimplebutton,iactionlink,iimagelistinfo)

public

  constructor create(); override;

  destructor destroy; override;

  procedure synctofontheight; override;

  procedure doupdate;

  procedure updatehotkeys; override;

  property bounds_cx: Integer;

  property bounds_cy: Integer;

  property font: twidgetfont; [rws]

  property modalresult: modalresultty; [rw]

  

Setting modalresult to mr_none prevents the button from closing the form: only a non-mr_none value triggers the form's modal close

  property action: tcustomaction; [rw]

  property caption: captionty; [rws]

  property textflags: textflagsty; [rw]

  property imagepos: imageposty; [rw]

  property captiondist: Integer; [rw]

  property imagelist: timagelist; [rws]

  property imagenr: imagenrty; [rws]

  property imagenrdisabled: imagenrty; [rws]

  property imagedist: Integer; [rw]

  property imagedist1: Integer; [rw]

  property imagedist2: Integer; [rw]

  property colorglyph: colorty; [rws]

  property shortcut: shortcutty; [rws]

  property shortcut1: shortcutty; [rws]

  property shortcuts: shortcutarty; [rw]

  property shortcuts1: shortcutarty; [rw]

  property onupdate: buttoneventty; [rw]

  property onexecute: notifyeventty; [rws]

  property onbeforeexecute: accepteventty; [rws]

  property onafterexecute: notifyeventty; [rws]

  property autosize_cx: Integer; [rw]

  property autosize_cy: Integer; [rw]

  property disabled: Boolean; [rw]

published

  property options: buttonoptionsty;

  property visible: Boolean; [s]

  property enabled: Boolean; [s]

  property state: actionstatesty; [rws]

end;

Inheritance

tcustombutton

|

tactionsimplebutton,iactionlink,iimagelistinfo

|

tactionpublishedwidget

|

tactionpublishedwidgetnwr

|

tactionwidget

|

twidget

|

tactcomponent,iscrollframe,iface,iassistiveclient

|

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