Class tcustomdatabutton

Unit

Declaration

type tcustomdatabutton = class(tcustomintegergraphdataedit, iactionlink, iimagelistinfo)

Description

No description available, ancestor tcustomintegergraphdataedit description follows
No description available, ancestor ttogglegraphdataedit description follows
No description available, ancestor tgraphdataedit 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 finfo: shapeinfoty;
Protected factioninfo: actioninfoty;

Methods

Protected procedure doidle(var again: boolean);
Protected procedure internalexecute;
Protected procedure doasyncevent(var atag: integer); override;
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure loaded; override;
Protected procedure setenabled(const avalue: boolean); override;
Protected procedure setvisible(const avalue: boolean); override;
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
Protected procedure gridtovalue(arow: integer); override;
Protected procedure setcolor(const avalue: colorty); override;
Protected procedure objectchanged(const sender: tobject); override;
Protected function getassistiveflags(): assistiveflagsty override;
Protected function getassistivecaption(): msestring override;
Protected function getactioninfopo: pactioninfoty;
Protected function shortcutseparator: msechar;
Protected procedure calccaptiontext(var ainfo: actioninfoty);
Protected procedure actionchanged;
Protected procedure setnullvalue;
Protected procedure doexecute; virtual;
Protected procedure domousewheelevent(var info: mousewheeleventinfoty); override;
Protected procedure togglevalue(const areadonly: boolean; const down: boolean); override;
Protected procedure statechanged; override;
Protected function valueenabledstate(const avalue: integer): boolean;
Protected procedure checkdisabled();
Protected procedure valuechanged(); override;
Protected procedure mouseevent(var info: mouseeventinfoty); override;
Protected procedure dokeydown(var info: keyeventinfoty); override;
Protected procedure dokeyup(var info: keyeventinfoty); override;
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
Protected procedure clientrectchanged; override;
Protected procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); override;
Protected procedure internalcreateframe; override;
Protected procedure setgridintf(const intf: iwidgetgrid); override;
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
Protected procedure setactualimagenr(const avalue: integer);
Protected procedure setoptions(const avalue: buttonoptionsty); override;
Protected function verticalfontheightdelta: boolean; override;
Protected class function classskininfo: skininfoty; override;
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure execute();
Public procedure initnewwidget(const ascale: real); override;
Public procedure updatehotkeys() override;
Public procedure doupdate;
Public procedure synctofontheight; override;
Public procedure initgridwidget; override;
Public procedure initnewcomponent(const ascale: real); override;
Public procedure togglegridvalue(const index: integer); override;
Public function checkeditem: tcustomdatabutton;

Properties

Public property valuefaces: tvaluefacearrayprop read fvaluefaces write setvaluefaces;
Public property valuecaptions: tmsestringarrayprop read fvaluecaptions write setvaluecaptions;
Public property valuefonts: tvaluefontarrayprop read fvaluefonts write setvaluefonts;
Public property font: twidgetfont read getfont write setfont stored isfontstored;
Public property action: tcustomaction read factioninfo.action write setaction;
Public property caption: captionty read factioninfo.captiontext 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: databuttoneventty 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 imageoffset: integer read fimageoffset write setimageoffset default 0;
Public property imageoffsetdisabled: integer read fimageoffsetdisabled write setimageoffsetdisabled default 0;
Public property imageoffsetmouse: integer read fimageoffsetmouse write setimageoffsetmouse default 0;
Public property imageoffsetclicked: integer read fimageoffsetclicked write setimageoffsetclicked default 0;
Public property imagenums: tintegerarrayprop read fimagenums write setimagenums;
Public property options;
Public property focusrectdist: integer read finfo.focusrectdist write finfo.focusrectdist default defaultshapefocusrectdist;
Public property onsetvalue;
Public property value default -1;
Public property valuedefault default -1;
Public property valuedisabled: integer read fvaluedisabled write setvaluedisabled default -2;
Public property valuemin default -1;
Public property valuemax default 0;
Public property optionswidget default defaultoptionswidget - [ow_mousefocus];
Published property visible stored false;
Published property enabled stored false;
Published property state: actionstatesty read factioninfo.state write setstate stored isstatestored default [];

Description

Fields

Protected finfo: shapeinfoty;
 
Protected factioninfo: actioninfoty;
 

Methods

Protected procedure doidle(var again: boolean);
 
Protected procedure internalexecute;
 
Protected procedure doasyncevent(var atag: integer); override;
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure loaded; override;
 
Protected procedure setenabled(const avalue: boolean); override;
 
Protected procedure setvisible(const avalue: boolean); override;
 
Protected procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override;
 
Protected procedure gridtovalue(arow: integer); override;
 
Protected procedure setcolor(const avalue: colorty); override;
 
Protected procedure objectchanged(const sender: tobject); override;
 
Protected function getassistiveflags(): assistiveflagsty override;
 
Protected function getassistivecaption(): msestring override;
 
Protected function getactioninfopo: pactioninfoty;
 
Protected function shortcutseparator: msechar;
 
Protected procedure calccaptiontext(var ainfo: actioninfoty);
 
Protected procedure actionchanged;
 
Protected procedure setnullvalue;
 
Protected procedure doexecute; virtual;
 
Protected procedure domousewheelevent(var info: mousewheeleventinfoty); override;
 
Protected procedure togglevalue(const areadonly: boolean; const down: boolean); override;
 
Protected procedure statechanged; override;
 
Protected function valueenabledstate(const avalue: integer): boolean;
 
Protected procedure checkdisabled();
 
Protected procedure valuechanged(); override;
 
Protected procedure mouseevent(var info: mouseeventinfoty); override;
 
Protected procedure dokeydown(var info: keyeventinfoty); override;
 
Protected procedure dokeyup(var info: keyeventinfoty); override;
 
Protected procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override;
 
Protected procedure clientrectchanged; override;
 
Protected procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); override;
 
Protected procedure internalcreateframe; override;
 
Protected procedure setgridintf(const intf: iwidgetgrid); override;
 
Protected function checkfocusshortcut(var info: keyeventinfoty): boolean; override;
 
Protected procedure setactualimagenr(const avalue: integer);
 
Protected procedure setoptions(const avalue: buttonoptionsty); override;
 
Protected function verticalfontheightdelta: boolean; override;
 
Protected class function classskininfo: skininfoty; override;
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure execute();
 
Public procedure initnewwidget(const ascale: real); override;
 
Public procedure updatehotkeys() override;
 
Public procedure doupdate;
 
Public procedure synctofontheight; override;
 
Public procedure initgridwidget; override;
 
Public procedure initnewcomponent(const ascale: real); override;
 
Public procedure togglegridvalue(const index: integer); override;
 
Public function checkeditem: tcustomdatabutton;
 

Properties

Public property valuefaces: tvaluefacearrayprop read fvaluefaces write setvaluefaces;
 
Public property valuecaptions: tmsestringarrayprop read fvaluecaptions write setvaluecaptions;
 
Public property valuefonts: tvaluefontarrayprop read fvaluefonts write setvaluefonts;
 
Public property font: twidgetfont read getfont write setfont stored isfontstored;
 
Public property action: tcustomaction read factioninfo.action write setaction;
 
Public property caption: captionty read factioninfo.captiontext 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: databuttoneventty 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 imageoffset: integer read fimageoffset write setimageoffset default 0;
 
Public property imageoffsetdisabled: integer read fimageoffsetdisabled write setimageoffsetdisabled default 0;
 
Public property imageoffsetmouse: integer read fimageoffsetmouse write setimageoffsetmouse default 0;
 
Public property imageoffsetclicked: integer read fimageoffsetclicked write setimageoffsetclicked default 0;
 
Public property imagenums: tintegerarrayprop read fimagenums write setimagenums;
 
Public property options;
 
Public property focusrectdist: integer read finfo.focusrectdist write finfo.focusrectdist default defaultshapefocusrectdist;
 
Public property onsetvalue;
 
Public property value default -1;
 
Public property valuedefault default -1;
 
Public property valuedisabled: integer read fvaluedisabled write setvaluedisabled default -2;
 
Public property valuemin default -1;
 
Public property valuemax default 0;
 
Public property optionswidget default defaultoptionswidget - [ow_mousefocus];
 
Published property visible stored false;
 
Published property enabled stored false;
 
Published property state: actionstatesty read factioninfo.state write setstate stored isstatestored default [];
 

Generated by PasDoc 0.16.0.