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
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tactionpublishedwidget
- tgraphdataedit
- ttogglegraphdataedit
- tcustomintegergraphdataedit
- tcustomdatabutton
Overview
Fields
finfo: shapeinfoty; |
|
factioninfo: actioninfoty; |
Methods
procedure doidle(var again: boolean); |
|
procedure internalexecute; |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure loaded; override; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure setvisible(const avalue: boolean); override; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override; |
|
procedure gridtovalue(arow: integer); override; |
|
procedure setcolor(const avalue: colorty); override; |
|
procedure objectchanged(const sender: tobject); override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivecaption(): msestring override; |
|
function getactioninfopo: pactioninfoty; |
|
function shortcutseparator: msechar; |
|
procedure calccaptiontext(var ainfo: actioninfoty); |
|
procedure actionchanged; |
|
procedure setnullvalue; |
|
procedure doexecute; virtual; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); override; |
|
procedure togglevalue(const areadonly: boolean; const down: boolean); override; |
|
procedure statechanged; override; |
|
function valueenabledstate(const avalue: integer): boolean; |
|
procedure checkdisabled(); |
|
procedure valuechanged(); override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure dokeyup(var info: keyeventinfoty); override; |
|
procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
procedure clientrectchanged; override; |
|
procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); override; |
|
procedure internalcreateframe; override; |
|
procedure setgridintf(const intf: iwidgetgrid); override; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; override; |
|
procedure setactualimagenr(const avalue: integer); |
|
procedure setoptions(const avalue: buttonoptionsty); override; |
|
function verticalfontheightdelta: boolean; override; |
|
class function classskininfo: skininfoty; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure execute(); |
|
procedure initnewwidget(const ascale: real); override; |
|
procedure updatehotkeys() override; |
|
procedure doupdate; |
|
procedure synctofontheight; override; |
|
procedure initgridwidget; override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure togglegridvalue(const index: integer); override; |
|
function checkeditem: tcustomdatabutton; |
Properties
property valuefaces: tvaluefacearrayprop read fvaluefaces
write setvaluefaces; |
|
property valuecaptions: tmsestringarrayprop read fvaluecaptions
write setvaluecaptions; |
|
property valuefonts: tvaluefontarrayprop read fvaluefonts
write setvaluefonts; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property action: tcustomaction read factioninfo.action write setaction; |
|
property caption: captionty read factioninfo.captiontext 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: databuttoneventty 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 imageoffset: integer read fimageoffset
write setimageoffset default 0; |
|
property imageoffsetdisabled: integer read fimageoffsetdisabled
write setimageoffsetdisabled default 0; |
|
property imageoffsetmouse: integer read fimageoffsetmouse
write setimageoffsetmouse default 0; |
|
property imageoffsetclicked: integer read fimageoffsetclicked
write setimageoffsetclicked default 0; |
|
property imagenums: tintegerarrayprop read fimagenums write setimagenums; |
|
property options; |
|
property focusrectdist: integer read finfo.focusrectdist
write finfo.focusrectdist default defaultshapefocusrectdist; |
|
property onsetvalue; |
|
property value default -1; |
|
property valuedefault default -1; |
|
property valuedisabled: integer read fvaluedisabled
write setvaluedisabled default -2; |
|
property valuemin default -1; |
|
property valuemax default 0; |
|
property optionswidget default defaultoptionswidget - [ow_mousefocus]; |
|
property visible stored false; |
|
property enabled stored false; |
|
property state: actionstatesty read factioninfo.state write setstate
stored isstatestored default []; |
Description
Fields
finfo: shapeinfoty; |
|
factioninfo: actioninfoty; |
|
Methods
procedure doidle(var again: boolean); |
|
procedure internalexecute; |
|
procedure doasyncevent(var atag: integer); override; |
|
procedure defineproperties(filer: tfiler); override; |
|
procedure loaded; override; |
|
procedure setenabled(const avalue: boolean); override; |
|
procedure setvisible(const avalue: boolean); override; |
|
procedure docellevent(const ownedcol: boolean; var info: celleventinfoty); override; |
|
procedure gridtovalue(arow: integer); override; |
|
procedure setcolor(const avalue: colorty); override; |
|
procedure objectchanged(const sender: tobject); override; |
|
function getassistiveflags(): assistiveflagsty override; |
|
function getassistivecaption(): msestring override; |
|
function getactioninfopo: pactioninfoty; |
|
function shortcutseparator: msechar; |
|
procedure calccaptiontext(var ainfo: actioninfoty); |
|
procedure actionchanged; |
|
procedure setnullvalue; |
|
procedure doexecute; virtual; |
|
procedure domousewheelevent(var info: mousewheeleventinfoty); override; |
|
procedure togglevalue(const areadonly: boolean; const down: boolean); override; |
|
procedure statechanged; override; |
|
function valueenabledstate(const avalue: integer): boolean; |
|
procedure checkdisabled(); |
|
procedure valuechanged(); override; |
|
procedure mouseevent(var info: mouseeventinfoty); override; |
|
procedure dokeydown(var info: keyeventinfoty); override; |
|
procedure dokeyup(var info: keyeventinfoty); override; |
|
procedure doshortcut(var info: keyeventinfoty; const sender: twidget); override; |
|
procedure clientrectchanged; override; |
|
procedure paintglyph(const canvas: tcanvas; const acolorglyph: colorty; const avalue; const arect: rectty); override; |
|
procedure internalcreateframe; override; |
|
procedure setgridintf(const intf: iwidgetgrid); override; |
|
function checkfocusshortcut(var info: keyeventinfoty): boolean; override; |
|
procedure setactualimagenr(const avalue: integer); |
|
procedure setoptions(const avalue: buttonoptionsty); override; |
|
function verticalfontheightdelta: boolean; override; |
|
class function classskininfo: skininfoty; override; |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure execute(); |
|
procedure initnewwidget(const ascale: real); override; |
|
procedure updatehotkeys() override; |
|
procedure doupdate; |
|
procedure synctofontheight; override; |
|
procedure initgridwidget; override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure togglegridvalue(const index: integer); override; |
|
function checkeditem: tcustomdatabutton; |
|
Properties
property valuefaces: tvaluefacearrayprop read fvaluefaces
write setvaluefaces; |
|
property valuecaptions: tmsestringarrayprop read fvaluecaptions
write setvaluecaptions; |
|
property valuefonts: tvaluefontarrayprop read fvaluefonts
write setvaluefonts; |
|
property font: twidgetfont read getfont write setfont stored isfontstored; |
|
property action: tcustomaction read factioninfo.action write setaction; |
|
property caption: captionty read factioninfo.captiontext 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: databuttoneventty 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 imageoffset: integer read fimageoffset
write setimageoffset default 0; |
|
property imageoffsetdisabled: integer read fimageoffsetdisabled
write setimageoffsetdisabled default 0; |
|
property imageoffsetmouse: integer read fimageoffsetmouse
write setimageoffsetmouse default 0; |
|
property imageoffsetclicked: integer read fimageoffsetclicked
write setimageoffsetclicked default 0; |
|
property imagenums: tintegerarrayprop read fimagenums write setimagenums; |
|
property options; |
|
property focusrectdist: integer read finfo.focusrectdist
write finfo.focusrectdist default defaultshapefocusrectdist; |
|
property onsetvalue; |
|
property value default -1; |
|
property valuedefault default -1; |
|
property valuedisabled: integer read fvaluedisabled
write setvaluedisabled default -2; |
|
property valuemin default -1; |
|
property valuemax default 0; |
|
property optionswidget default defaultoptionswidget - [ow_mousefocus]; |
|
property visible stored false; |
|
property enabled stored false; |
|
property state: actionstatesty read factioninfo.state write setstate
stored isstatestored default []; |
|
Generated by PasDoc 0.16.0.