Class tcustombutton
Unit
Declaration
type tcustombutton = class(tactionsimplebutton, iactionlink, iimagelistinfo)
Description
No description available, ancestor tactionsimplebutton description follows
No description available, ancestor tactionpublishedwidget description follows
No description available, ancestor tactionpublishedwidgetnwr description follows
No description available, ancestor tactionwidget description follows
No description available, ancestor twidget description follows
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tactionpublishedwidget
- tactionsimplebutton
- tcustombutton
Overview
Fields
fexeccanceled: boolean; |
Methods
function getdisabled(): boolean override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure fontchanged; override; |
|
procedure setcolor(const avalue: colorty); override; |
|
procedure doidle(var again: boolean); |
|
function getactioninfopo: pactioninfoty; |
|
function shortcutseparator: msechar; |
|
procedure calccaptiontext(var ainfo: actioninfoty) virtual; |
|
procedure actionchanged; |
|
procedure setoptions(const avalue: buttonoptionsty); override; |
|
function gethint: msestring; override; |
|
procedure sethint(const Value: msestring); override; |
|
function ishintstored: boolean; override; |
|
function getassistivecaption(): msestring; override; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure setvisible(const avalue: boolean); override; |
|
procedure readstate(reader: treader); override; |
|
procedure loaded; override; |
|
procedure clientrectchanged; override; |
|
procedure doexecute; override; |
|
procedure doenter; override; |
|
procedure doexit; override; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; override; |
|
procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
function verticalfontheightdelta: boolean; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure synctofontheight; override; |
|
procedure doupdate; |
|
procedure updatehotkeys() override; |
Properties
property bounds_cx default defaultbuttonwidth; |
|
property bounds_cy default defaultbuttonheight; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property modalresult: modalresultty read fmodalresult write fmodalresult
default mr_none; |
|
property action: tcustomaction read factioninfo.action write setaction; |
|
property caption: captionty read getcaption write setcaption stored iscaptionstored; |
|
property textflags: textflagsty read finfo.ca.textflags
write settextflags default defaultcaptiontextflags; |
|
property imagepos: imageposty read finfo.ca.imagepos write setimagepos
default ip_center; |
|
property captiondist: integer read finfo.ca.captiondist write setcaptiondist
default defaultshapecaptiondist; |
|
property imagelist: timagelist read getimagelist write setimagelist
stored isimageliststored; |
|
property imagenr: imagenrty read factioninfo.imagenr write setimagenr
stored isimagenrstored default -1; |
|
property imagenrdisabled: imagenrty read factioninfo.imagenrdisabled
write setimagenrdisabled
stored isimagenrdisabledstored default -2; |
|
property imagedist: integer read finfo.ca.imagedist
write setimagedist default 0; |
|
property imagedist1: integer read finfo.ca.imagedist1
write setimagedist1 default 0; |
|
property imagedist2: integer read finfo.ca.imagedist2
write setimagedist2 default 0; |
|
property colorglyph: colorty read factioninfo.colorglyph write setcolorglyph
stored iscolorglyphstored default cl_default; |
|
property shortcut: shortcutty read getshortcut write setshortcut
stored false default 0; |
|
property shortcut1: shortcutty read getshortcut1 write setshortcut1
stored false default 0; |
|
property shortcuts: shortcutarty read factioninfo.shortcut write setshortcuts; |
|
property shortcuts1: shortcutarty read factioninfo.shortcut1
write setshortcuts1; |
|
property onupdate: buttoneventty read fonupdate write fonupdate; |
|
property onexecute: notifyeventty read factioninfo.onexecute
write setonexecute stored isonexecutestored; |
|
property onbeforeexecute: accepteventty read factioninfo.onbeforeexecute
write setonbeforeexecute stored isonbeforeexecutestored; |
|
property onafterexecute: notifyeventty read factioninfo.onafterexecute
write setonafterexecute stored isonafterexecutestored; |
|
property autosize_cx: integer read fautosize_cx
write setautosize_cx default 0; |
|
property autosize_cy: integer read fautosize_cy
write setautosize_cy default 0; |
|
property disabled: boolean read getdisabled write setdisabled; |
|
property options; |
|
property visible stored false; |
|
property enabled stored isenabledstored; |
|
property state: actionstatesty read getstate write setstate
stored isstatestored default []; |
Description
Fields
fexeccanceled: boolean; |
|
Methods
function getdisabled(): boolean override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure fontchanged; override; |
|
procedure setcolor(const avalue: colorty); override; |
|
procedure doidle(var again: boolean); |
|
function getactioninfopo: pactioninfoty; |
|
function shortcutseparator: msechar; |
|
procedure calccaptiontext(var ainfo: actioninfoty) virtual; |
|
procedure actionchanged; |
|
procedure setoptions(const avalue: buttonoptionsty); override; |
|
function gethint: msestring; override; |
|
procedure sethint(const Value: msestring); override; |
|
function ishintstored: boolean; override; |
|
function getassistivecaption(): msestring; override; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure setvisible(const avalue: boolean); override; |
|
procedure readstate(reader: treader); override; |
|
procedure loaded; override; |
|
procedure clientrectchanged; override; |
|
procedure doexecute; override; |
|
procedure doenter; override; |
|
procedure doexit; override; |
|
procedure dopaintforeground(const canvas: tcanvas); override; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; override; |
|
procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
procedure getautopaintsize(var asize: sizety); override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
function verticalfontheightdelta: boolean; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure synctofontheight; override; |
|
procedure doupdate; |
|
procedure updatehotkeys() override; |
|
Properties
property bounds_cx default defaultbuttonwidth; |
|
property bounds_cy default defaultbuttonheight; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property modalresult: modalresultty read fmodalresult write fmodalresult
default mr_none; |
|
property action: tcustomaction read factioninfo.action write setaction; |
|
property caption: captionty read getcaption write setcaption stored iscaptionstored; |
|
property textflags: textflagsty read finfo.ca.textflags
write settextflags default defaultcaptiontextflags; |
|
property imagepos: imageposty read finfo.ca.imagepos write setimagepos
default ip_center; |
|
property captiondist: integer read finfo.ca.captiondist write setcaptiondist
default defaultshapecaptiondist; |
|
property imagelist: timagelist read getimagelist write setimagelist
stored isimageliststored; |
|
property imagenr: imagenrty read factioninfo.imagenr write setimagenr
stored isimagenrstored default -1; |
|
property imagenrdisabled: imagenrty read factioninfo.imagenrdisabled
write setimagenrdisabled
stored isimagenrdisabledstored default -2; |
|
property imagedist: integer read finfo.ca.imagedist
write setimagedist default 0; |
|
property imagedist1: integer read finfo.ca.imagedist1
write setimagedist1 default 0; |
|
property imagedist2: integer read finfo.ca.imagedist2
write setimagedist2 default 0; |
|
property colorglyph: colorty read factioninfo.colorglyph write setcolorglyph
stored iscolorglyphstored default cl_default; |
|
property shortcut: shortcutty read getshortcut write setshortcut
stored false default 0; |
|
property shortcut1: shortcutty read getshortcut1 write setshortcut1
stored false default 0; |
|
property shortcuts: shortcutarty read factioninfo.shortcut write setshortcuts; |
|
property shortcuts1: shortcutarty read factioninfo.shortcut1
write setshortcuts1; |
|
property onupdate: buttoneventty read fonupdate write fonupdate; |
|
property onexecute: notifyeventty read factioninfo.onexecute
write setonexecute stored isonexecutestored; |
|
property onbeforeexecute: accepteventty read factioninfo.onbeforeexecute
write setonbeforeexecute stored isonbeforeexecutestored; |
|
property onafterexecute: notifyeventty read factioninfo.onafterexecute
write setonafterexecute stored isonafterexecutestored; |
|
property autosize_cx: integer read fautosize_cx
write setautosize_cx default 0; |
|
property autosize_cy: integer read fautosize_cy
write setautosize_cy default 0; |
|
property disabled: boolean read getdisabled write setdisabled; |
|
property options; |
|
property visible stored false; |
|
property enabled stored isenabledstored; |
|
property state: actionstatesty read getstate write setstate
stored isstatestored default []; |
|
Generated by PasDoc 0.16.0.