Class tcustomdatabutton
Unit
Declaration
type tcustomdatabutton = class(tcustomintegergraphdataedit, iactionlink, iimagelistinfo)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tactionpublishedwidget
- tgraphdataedit
- ttogglegraphdataedit
- tcustomintegergraphdataedit
- tcustomdatabutton
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; |
|
This item has no description. | |
| Protected | factioninfo: actioninfoty; |
|
This item has no description. | |
Methods
| Protected | procedure doidle(var again: boolean); |
|
This item has no description. | |
| Protected | procedure internalexecute; |
|
This item has no description. | |
| Protected | procedure doasyncevent(var atag: integer); override; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | procedure setenabled(const avalue: boolean); override; |
|
This item has no description. | |
| Protected | procedure setvisible(const avalue: boolean); override; |
|
This item has no description. | |
| Protected | procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override; |
|
This item has no description. | |
| Protected | procedure gridtovalue(arow: integer); override; |
|
This item has no description. | |
| Protected | procedure setcolor(const avalue: colorty); override; |
|
This item has no description. | |
| Protected | procedure objectchanged(const sender: tobject); override; |
|
This item has no description. | |
| Protected | function getassistiveflags(): assistiveflagsty override; |
|
This item has no description. | |
| Protected | function getassistivecaption(): msestring override; |
|
This item has no description. | |
| Protected | function getactioninfopo: pactioninfoty; |
|
This item has no description. | |
| Protected | function shortcutseparator: msechar; |
|
This item has no description. | |
| Protected | procedure calccaptiontext(var ainfo: actioninfoty); |
|
This item has no description. | |
| Protected | procedure actionchanged; |
|
This item has no description. | |
| Protected | procedure setnullvalue; |
|
This item has no description. | |
| Protected | procedure doexecute; virtual; |
|
This item has no description. | |
| Protected | procedure domousewheelevent(var info: mousewheeleventinfoty); override; |
|
This item has no description. | |
| Protected | procedure togglevalue(const areadonly: boolean; const down: boolean); override; |
|
This item has no description. | |
| Protected | procedure statechanged; override; |
|
This item has no description. | |
| Protected | function valueenabledstate(const avalue: integer): boolean; |
|
This item has no description. | |
| Protected | procedure checkdisabled(); |
|
This item has no description. | |
| Protected | procedure valuechanged(); override; |
|
This item has no description. | |
| Protected | procedure mouseevent(var info: mouseeventinfoty); override; |
|
This item has no description. | |
| Protected | procedure dokeydown(var info: keyeventinfoty); override; |
|
This item has no description. | |
| Protected | procedure dokeyup(var info: keyeventinfoty); override; |
|
This item has no description. | |
| Protected | procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
This item has no description. | |
| Protected | procedure clientrectchanged; override; |
|
This item has no description. | |
| Protected | procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); override; |
|
This item has no description. | |
| Protected | procedure internalcreateframe; override; |
|
This item has no description. | |
| Protected | procedure setgridintf(const intf: iwidgetgrid); override; |
|
This item has no description. | |
| Protected | function checkfocusshortcut(var info: keyeventinfoty): boolean; override; |
|
This item has no description. | |
| Protected | procedure setactualimagenr(const avalue: integer); |
|
This item has no description. | |
| Protected | procedure setoptions(const avalue: buttonoptionsty); override; |
|
This item has no description. | |
| Protected | function verticalfontheightdelta: boolean; override; |
|
This item has no description. | |
| Protected | class function classskininfo: skininfoty; override; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure execute(); |
|
This item has no description. | |
| Public | procedure initnewwidget(const ascale: real); override; |
|
This item has no description. | |
| Public | procedure updatehotkeys() override; |
|
This item has no description. | |
| Public | procedure doupdate; |
|
This item has no description. | |
| Public | procedure synctofontheight; override; |
|
This item has no description. | |
| Public | procedure initgridwidget; override; |
|
This item has no description. | |
| Public | procedure initnewcomponent(const ascale: real); override; |
|
This item has no description. | |
| Public | procedure togglegridvalue(const index: integer); override; |
|
This item has no description. | |
| Public | function checkeditem: tcustomdatabutton; |
|
This item has no description. | |
Properties
| Public | property valuefaces: tvaluefacearrayprop read fvaluefaces
write setvaluefaces; |
|
This item has no description. | |
| Public | property valuecaptions: tmsestringarrayprop read fvaluecaptions
write setvaluecaptions; |
|
This item has no description. | |
| Public | property valuefonts: tvaluefontarrayprop read fvaluefonts
write setvaluefonts; |
|
This item has no description. | |
| Public | property font: twidgetfont read getfont write setfont stored isfontstored; |
|
This item has no description. | |
| Public | property action: tcustomaction read factioninfo.action write setaction; |
|
This item has no description. | |
| Public | property caption: captionty read factioninfo.captiontext write setcaption
stored iscaptionstored; |
|
This item has no description. | |
| Public | property textflags: textflagsty read finfo.ca.textflags
write settextflags default defaultcaptiontextflags; |
|
This item has no description. | |
| Public | property imagepos: imageposty read finfo.ca.imagepos write setimagepos
default ip_center; |
|
This item has no description. | |
| Public | property captiondist: integer read finfo.ca.captiondist write setcaptiondist
default defaultshapecaptiondist; |
|
This item has no description. | |
| Public | property imagelist: timagelist read getimagelist write setimagelist
stored isimageliststored; |
|
This item has no description. | |
| Public | property imagenr: imagenrty read factioninfo.imagenr write setimagenr
stored isimagenrstored default -1; |
|
This item has no description. | |
| Public | property imagenrdisabled: imagenrty read factioninfo.imagenrdisabled
write setimagenrdisabled
stored isimagenrdisabledstored default -2; |
|
This item has no description. | |
| Public | property imagedist: integer read finfo.ca.imagedist
write setimagedist default 0; |
|
This item has no description. | |
| Public | property imagedist1: integer read finfo.ca.imagedist1
write setimagedist1 default 0; |
|
This item has no description. | |
| Public | property imagedist2: integer read finfo.ca.imagedist2
write setimagedist2 default 0; |
|
This item has no description. | |
| Public | property colorglyph: colorty read factioninfo.colorglyph write setcolorglyph
stored iscolorglyphstored default cl_default; |
|
This item has no description. | |
| Public | property shortcut: shortcutty read getshortcut write setshortcut
stored false default 0; |
|
This item has no description. | |
| Public | property shortcut1: shortcutty read getshortcut1 write setshortcut1
stored false default 0; |
|
This item has no description. | |
| Public | property shortcuts: shortcutarty read factioninfo.shortcut
write setshortcuts; |
|
This item has no description. | |
| Public | property shortcuts1: shortcutarty read factioninfo.shortcut1
write setshortcuts1; |
|
This item has no description. | |
| Public | property onupdate: databuttoneventty read fonupdate write fonupdate; |
|
This item has no description. | |
| Public | property onexecute: notifyeventty read factioninfo.onexecute
write setonexecute stored isonexecutestored; |
|
This item has no description. | |
| Public | property onbeforeexecute: accepteventty read factioninfo.onbeforeexecute
write setonbeforeexecute stored isonbeforeexecutestored; |
|
This item has no description. | |
| Public | property onafterexecute: notifyeventty read factioninfo.onafterexecute
write setonafterexecute stored isonafterexecutestored; |
|
This item has no description. | |
| Public | property imageoffset: integer read fimageoffset
write setimageoffset default 0; |
|
This item has no description. | |
| Public | property imageoffsetdisabled: integer read fimageoffsetdisabled
write setimageoffsetdisabled default 0; |
|
This item has no description. | |
| Public | property imageoffsetmouse: integer read fimageoffsetmouse
write setimageoffsetmouse default 0; |
|
This item has no description. | |
| Public | property imageoffsetclicked: integer read fimageoffsetclicked
write setimageoffsetclicked default 0; |
|
This item has no description. | |
| Public | property imagenums: tintegerarrayprop read fimagenums write setimagenums; |
|
This item has no description. | |
| Public | property options; |
|
This item has no description. | |
| Public | property focusrectdist: integer read finfo.focusrectdist
write finfo.focusrectdist default defaultshapefocusrectdist; |
|
This item has no description. | |
| Public | property onsetvalue; |
|
This item has no description. | |
| Public | property value default -1; |
|
This item has no description. | |
| Public | property valuedefault default -1; |
|
This item has no description. | |
| Public | property valuedisabled: integer read fvaluedisabled
write setvaluedisabled default -2; |
|
This item has no description. | |
| Public | property valuemin default -1; |
|
This item has no description. | |
| Public | property valuemax default 0; |
|
This item has no description. | |
| Public | property optionswidget default defaultoptionswidget - [ow_mousefocus]; |
|
This item has no description. | |
| Published | property visible stored false; |
|
This item has no description. | |
| Published | property enabled stored false; |
|
This item has no description. | |
| Published | property state: actionstatesty read factioninfo.state write setstate
stored isstatestored default []; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.