Class tcustomtoolbutton
Unit
Declaration
type tcustomtoolbutton = class(tindexpersistent, iactionlink, iimagelistinfo)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- townedeventpersistent
- tindexpersistent
- tcustomtoolbutton
Overview
Fields
| Protected | ftag: integer; |
| Protected | ftagpo: pointer; |
Methods
| Protected | procedure doexecute(const tag: integer; const info: mouseeventinfoty); |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | procedure actionchanged; |
| Protected | function getactioninfopo: pactioninfoty; |
| Protected | procedure doshortcut(var info: keyeventinfoty); |
| Protected | function getinstance: tobject; override; |
| Protected | function loading: boolean; |
| Protected | function shortcutseparator: msechar; |
| Protected | procedure calccaptiontext(var ainfo: actioninfoty); |
| Public | constructor create(const aowner: tobject; const aprop: tindexpersistentarrayprop); overload; override; |
| Public | constructor create(aowner: tcustomtoolbar); reintroduce; overload; |
| Public | function toolbar: tcustomtoolbar; |
| Public | function index: integer; |
| Public | procedure execute; |
| Public | procedure doupdate; |
Properties
| Public | property checked: boolean read getchecked write setchecked; |
| Public | property visible: boolean read getvisible write setvisible default true; |
| Public | property enabled: boolean read getenabled write setenabled default true; |
| Public | property shortcuts: shortcutarty read finfo.shortcut write setshortcuts; |
| Public | property shortcuts1: shortcutarty read finfo.shortcut1 write setshortcuts1; |
| Public | property imagelist: timagelist read getimagelist write setimagelist
stored isimageliststored; |
| Public | property imagenr: imagenrty read finfo.imagenr write setimagenr
stored isimagenrstored default -1; |
| Public | property imagenrdisabled: imagenrty read finfo.imagenrdisabled
write setimagenrdisabled
stored isimagenrdisabledstored default -2; |
| Public | property colorglyph: colorty read finfo.colorglyph write setcolorglyph
stored iscolorglyphstored default cl_default; |
| Public | property color: colorty read finfo.color write setcolor
stored iscolorstored default cl_default; |
| Public | property imagecheckedoffset: integer read finfo.imagecheckedoffset
write setimagecheckedoffset
stored isimagecheckedoffsetstored default 0; |
| Public | property hint: msestring read finfo.hint write sethint stored ishintstored; |
| Public | property action: tcustomaction read finfo.action write setaction; |
| Public | property state: actionstatesty read getstate write setstate
stored isstatestored default []; |
| Public | property shortcut: shortcutty read getshortcut write setshortcut
stored isshortcutstored default 0; |
| Public | property shortcut1: shortcutty read getshortcut1 write setshortcut1
stored isshortcut1stored default 0; |
| Public | property options: menuactionoptionsty read finfo.options
write setoptions default []; |
| Public | property group: integer read finfo.group write setgroup
stored isgroupstored default 0; |
| Public | property tag: integer read ftag write ftag default 0; |
| Public | property tagpo: pointer read ftagpo write ftagpo; |
| Public | property tagpointer: pointer read ftagpo write ftagpo; deprecated 'Use tagpo instead'; |
| Public | property onexecute: notifyeventty read finfo.onexecute write setonexecute
stored isonexecutestored; |
| Public | property onbeforeexecute: accepteventty read finfo.onbeforeexecute
write setonbeforeexecute stored isonbeforeexecutestored; |
| Public | property onafterexecute: notifyeventty read finfo.onafterexecute
write setonafterexecute stored isonafterexecutestored; |
Description
Fields
| Protected | ftag: integer; |
|
This item has no description. | |
| Protected | ftagpo: pointer; |
|
This item has no description. | |
Methods
| Protected | procedure doexecute(const tag: integer; const info: mouseeventinfoty); |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure actionchanged; |
|
This item has no description. | |
| Protected | function getactioninfopo: pactioninfoty; |
|
This item has no description. | |
| Protected | procedure doshortcut(var info: keyeventinfoty); |
|
This item has no description. | |
| Protected | function getinstance: tobject; override; |
|
This item has no description. | |
| Protected | function loading: boolean; |
|
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. | |
| Public | constructor create(const aowner: tobject; const aprop: tindexpersistentarrayprop); overload; override; |
|
This item has no description. | |
| Public | constructor create(aowner: tcustomtoolbar); reintroduce; overload; |
|
This item has no description. | |
| Public | function toolbar: tcustomtoolbar; |
|
This item has no description. | |
| Public | function index: integer; |
|
This item has no description. | |
| Public | procedure execute; |
|
This item has no description. | |
| Public | procedure doupdate; |
|
This item has no description. | |
Properties
| Public | property checked: boolean read getchecked write setchecked; |
|
This item has no description. | |
| Public | property visible: boolean read getvisible write setvisible default true; |
|
This item has no description. | |
| Public | property enabled: boolean read getenabled write setenabled default true; |
|
This item has no description. | |
| Public | property shortcuts: shortcutarty read finfo.shortcut write setshortcuts; |
|
This item has no description. | |
| Public | property shortcuts1: shortcutarty read finfo.shortcut1 write setshortcuts1; |
|
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 finfo.imagenr write setimagenr
stored isimagenrstored default -1; |
|
This item has no description. | |
| Public | property imagenrdisabled: imagenrty read finfo.imagenrdisabled
write setimagenrdisabled
stored isimagenrdisabledstored default -2; |
|
This item has no description. | |
| Public | property colorglyph: colorty read finfo.colorglyph write setcolorglyph
stored iscolorglyphstored default cl_default; |
|
This item has no description. | |
| Public | property color: colorty read finfo.color write setcolor
stored iscolorstored default cl_default; |
|
This item has no description. | |
| Public | property imagecheckedoffset: integer read finfo.imagecheckedoffset
write setimagecheckedoffset
stored isimagecheckedoffsetstored default 0; |
|
This item has no description. | |
| Public | property hint: msestring read finfo.hint write sethint stored ishintstored; |
|
This item has no description. | |
| Public | property action: tcustomaction read finfo.action write setaction; |
|
This item has no description. | |
| Public | property state: actionstatesty read getstate write setstate
stored isstatestored default []; |
|
This item has no description. | |
| Public | property shortcut: shortcutty read getshortcut write setshortcut
stored isshortcutstored default 0; |
|
This item has no description. | |
| Public | property shortcut1: shortcutty read getshortcut1 write setshortcut1
stored isshortcut1stored default 0; |
|
This item has no description. | |
| Public | property options: menuactionoptionsty read finfo.options
write setoptions default []; |
|
This item has no description. | |
| Public | property group: integer read finfo.group write setgroup
stored isgroupstored default 0; |
|
This item has no description. | |
| Public | property tag: integer read ftag write ftag default 0; |
|
This item has no description. | |
| Public | property tagpo: pointer read ftagpo write ftagpo; |
|
This item has no description. | |
| Public | property tagpointer: pointer read ftagpo write ftagpo; deprecated 'Use tagpo instead'; |
|
Warning: this symbol is deprecated: Use tagpo instead This item has no description. | |
| Public | property onexecute: notifyeventty read finfo.onexecute write setonexecute
stored isonexecutestored; |
|
This item has no description. | |
| Public | property onbeforeexecute: accepteventty read finfo.onbeforeexecute
write setonbeforeexecute stored isonbeforeexecutestored; |
|
This item has no description. | |
| Public | property onafterexecute: notifyeventty read finfo.onafterexecute
write setonafterexecute stored isonafterexecutestored; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.