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

Overview

Fields

Protected fexeccanceled: boolean;

Methods

Protected function getdisabled(): boolean override;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure fontchanged; override;
Protected procedure setcolor(const avalue: colorty); override;
Protected procedure doidle(var again: boolean);
Protected function getactioninfopo: pactioninfoty;
Protected function shortcutseparator: msechar;
Protected procedure calccaptiontext(var ainfo: actioninfoty) virtual;
Protected procedure actionchanged;
Protected procedure setoptions(const avalue: buttonoptionsty); override;
Protected function gethint: msestring; override;
Protected procedure sethint(const Value: msestring); override;
Protected function ishintstored: boolean; override;
Protected function getassistivecaption(): msestring; override;
Protected procedure setenabled(const avalue: boolean); override;
Protected procedure setvisible(const avalue: boolean); override;
Protected procedure readstate(reader: treader); override;
Protected procedure loaded; override;
Protected procedure clientrectchanged; override;
Protected procedure doexecute; override;
Protected procedure doenter; override;
Protected procedure doexit; override;
Protected procedure dopaintforeground(const canvas: tcanvas); override;
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure getautopaintsize(var asize: sizety); override;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected function verticalfontheightdelta: boolean; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure synctofontheight; override;
Public procedure doupdate;
Public procedure updatehotkeys() override;

Properties

Public property bounds_cx default defaultbuttonwidth;
Public property bounds_cy default defaultbuttonheight;
Public property font: twidgetfont read getfont write setfont stored isfontstored;
Public property modalresult: modalresultty read fmodalresult write fmodalresult default mr_none;
Public property action: tcustomaction read factioninfo.action write setaction;
Public property caption: captionty read getcaption write setcaption stored iscaptionstored;
Public property textflags: textflagsty read finfo.ca.textflags write settextflags default defaultcaptiontextflags;
Public property imagepos: imageposty read finfo.ca.imagepos write setimagepos default ip_center;
Public property captiondist: integer read finfo.ca.captiondist write setcaptiondist default defaultshapecaptiondist;
Public property imagelist: timagelist read getimagelist write setimagelist stored isimageliststored;
Public property imagenr: imagenrty read factioninfo.imagenr write setimagenr stored isimagenrstored default -1;
Public property imagenrdisabled: imagenrty read factioninfo.imagenrdisabled write setimagenrdisabled stored isimagenrdisabledstored default -2;
Public property imagedist: integer read finfo.ca.imagedist write setimagedist default 0;
Public property imagedist1: integer read finfo.ca.imagedist1 write setimagedist1 default 0;
Public property imagedist2: integer read finfo.ca.imagedist2 write setimagedist2 default 0;
Public property colorglyph: colorty read factioninfo.colorglyph write setcolorglyph stored iscolorglyphstored default cl_default;
Public property shortcut: shortcutty read getshortcut write setshortcut stored false default 0;
Public property shortcut1: shortcutty read getshortcut1 write setshortcut1 stored false default 0;
Public property shortcuts: shortcutarty read factioninfo.shortcut write setshortcuts;
Public property shortcuts1: shortcutarty read factioninfo.shortcut1 write setshortcuts1;
Public property onupdate: buttoneventty read fonupdate write fonupdate;
Public property onexecute: notifyeventty read factioninfo.onexecute write setonexecute stored isonexecutestored;
Public property onbeforeexecute: accepteventty read factioninfo.onbeforeexecute write setonbeforeexecute stored isonbeforeexecutestored;
Public property onafterexecute: notifyeventty read factioninfo.onafterexecute write setonafterexecute stored isonafterexecutestored;
Public property autosize_cx: integer read fautosize_cx write setautosize_cx default 0;
Public property autosize_cy: integer read fautosize_cy write setautosize_cy default 0;
Public property disabled: boolean read getdisabled write setdisabled;
Published property options;
Published property visible stored false;
Published property enabled stored isenabledstored;
Published property state: actionstatesty read getstate write setstate stored isstatestored default [];

Description

Fields

Protected fexeccanceled: boolean;
 

Methods

Protected function getdisabled(): boolean override;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure fontchanged; override;
 
Protected procedure setcolor(const avalue: colorty); override;
 
Protected procedure doidle(var again: boolean);
 
Protected function getactioninfopo: pactioninfoty;
 
Protected function shortcutseparator: msechar;
 
Protected procedure calccaptiontext(var ainfo: actioninfoty) virtual;
 
Protected procedure actionchanged;
 
Protected procedure setoptions(const avalue: buttonoptionsty); override;
 
Protected function gethint: msestring; override;
 
Protected procedure sethint(const Value: msestring); override;
 
Protected function ishintstored: boolean; override;
 
Protected function getassistivecaption(): msestring; override;
 
Protected procedure setenabled(const avalue: boolean); override;
 
Protected procedure setvisible(const avalue: boolean); override;
 
Protected procedure readstate(reader: treader); override;
 
Protected procedure loaded; override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure doexecute; override;
 
Protected procedure doenter; override;
 
Protected procedure doexit; override;
 
Protected procedure dopaintforeground(const canvas: tcanvas); override;
 
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
 
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
 
Protected procedure getautopaintsize(var asize: sizety); override;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected function verticalfontheightdelta: boolean; override;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure synctofontheight; override;
 
Public procedure doupdate;
 
Public procedure updatehotkeys() override;
 

Properties

Public property bounds_cx default defaultbuttonwidth;
 
Public property bounds_cy default defaultbuttonheight;
 
Public property font: twidgetfont read getfont write setfont stored isfontstored;
 
Public property modalresult: modalresultty read fmodalresult write fmodalresult default mr_none;
 
Public property action: tcustomaction read factioninfo.action write setaction;
 
Public property caption: captionty read getcaption write setcaption stored iscaptionstored;
 
Public property textflags: textflagsty read finfo.ca.textflags write settextflags default defaultcaptiontextflags;
 
Public property imagepos: imageposty read finfo.ca.imagepos write setimagepos default ip_center;
 
Public property captiondist: integer read finfo.ca.captiondist write setcaptiondist default defaultshapecaptiondist;
 
Public property imagelist: timagelist read getimagelist write setimagelist stored isimageliststored;
 
Public property imagenr: imagenrty read factioninfo.imagenr write setimagenr stored isimagenrstored default -1;
 
Public property imagenrdisabled: imagenrty read factioninfo.imagenrdisabled write setimagenrdisabled stored isimagenrdisabledstored default -2;
 
Public property imagedist: integer read finfo.ca.imagedist write setimagedist default 0;
 
Public property imagedist1: integer read finfo.ca.imagedist1 write setimagedist1 default 0;
 
Public property imagedist2: integer read finfo.ca.imagedist2 write setimagedist2 default 0;
 
Public property colorglyph: colorty read factioninfo.colorglyph write setcolorglyph stored iscolorglyphstored default cl_default;
 
Public property shortcut: shortcutty read getshortcut write setshortcut stored false default 0;
 
Public property shortcut1: shortcutty read getshortcut1 write setshortcut1 stored false default 0;
 
Public property shortcuts: shortcutarty read factioninfo.shortcut write setshortcuts;
 
Public property shortcuts1: shortcutarty read factioninfo.shortcut1 write setshortcuts1;
 
Public property onupdate: buttoneventty read fonupdate write fonupdate;
 
Public property onexecute: notifyeventty read factioninfo.onexecute write setonexecute stored isonexecutestored;
 
Public property onbeforeexecute: accepteventty read factioninfo.onbeforeexecute write setonbeforeexecute stored isonbeforeexecutestored;
 
Public property onafterexecute: notifyeventty read factioninfo.onafterexecute write setonafterexecute stored isonafterexecutestored;
 
Public property autosize_cx: integer read fautosize_cx write setautosize_cx default 0;
 
Public property autosize_cy: integer read fautosize_cy write setautosize_cy default 0;
 
Public property disabled: boolean read getdisabled write setdisabled;
 
Published property options;
 
Published property visible stored false;
 
Published property enabled stored isenabledstored;
 
Published property state: actionstatesty read getstate write setstate stored isstatestored default [];
 

Generated by PasDoc 0.16.0.