Class twidget
Unit
Declaration
type twidget = class(tactcomponent, iscrollframe, iface, iassistiveclient)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
Overview
Fields
| Protected | fwidgets: widgetarty; |
| Protected | fnoinvalidate: integer; |
| Protected | fwidgetupdating: integer; |
| Protected | foptionswidget: optionswidgetty; |
| Protected | foptionswidget1: optionswidget1ty; |
| Protected | fparentwidget: twidget; |
| Protected | fanchors: anchorsty; |
| Protected | fwidgetstate: widgetstatesty; |
| Protected | fwidgetstate1: widgetstates1ty; |
| Protected | fcolor: colorty; |
| Protected | fwindow: twindow; |
| Protected | fwidgetrect: rectty; |
| Protected | fparentclientsize: sizety; |
| Protected | fframe: tcustomframe; |
| Protected | fface: tcustomface; |
| Protected | ffont: twidgetfont; |
| Protected | ffontempty: twidgetfontempty; |
| Protected | fhint: msestring; |
| Protected | fdefaultfocuschild: twidget; |
Methods
| Protected | procedure checksizes(); |
| Protected | function widgetminsize1: sizety; |
| Protected | function widgetmaxsize1: sizety; |
| Protected | function minclientsize: sizety; |
| Protected | function isdesignwidget(): boolean; virtual; |
| Protected | procedure setdesignwidget(); |
| Protected | procedure designmouseevent(var info: moeventinfoty; capture: twidget); virtual; |
| Protected | procedure designkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual; |
| Protected | procedure defineproperties(filer: tfiler); override; |
| Protected | function gethelpcontext: msestring; override; |
| Protected | class function classskininfo: skininfoty; override; |
| Protected | function skininfo: skininfoty; override; |
| Protected | function hasskin: boolean; override; |
| Protected | function navigstartrect: rectty; virtual; |
| Protected | function navigrect: rectty; virtual; |
| Protected | procedure navigrequest(var info: naviginfoty; const nowrap: boolean = false); virtual; |
| Protected | function navigdistance(var info: naviginfoty; const nowrap: boolean = false): integer; virtual; |
| Protected | function nexttaborderoverride(const sender: twidget; const down: boolean = false): twidget virtual; |
| Protected | function getwidgetrects(const awidgets: array of twidget): rectarty; |
| Protected | procedure setwidgetrects(const awidgets: array of twidget; const arects: rectarty); |
| Protected | procedure updateroot; |
| Protected | procedure setcolor(const avalue: colorty); virtual; |
| Protected | function gethint: msestring; virtual; |
| Protected | procedure sethint(const Value: msestring); virtual; |
| Protected | function ishintstored: boolean; virtual; |
| Protected | function getshowhint: boolean; |
| Protected | procedure showhint(const aid: int32; var info: hintinfoty); virtual; |
| Protected | function isgroupleader: boolean; virtual; |
| Protected | function needsfocuspaint: boolean; virtual; |
| Protected | function needsfocuspaintstate(): boolean; |
| Protected | function getnoscroll(): boolean; virtual; |
| Protected | function getenabled: boolean; |
| Protected | procedure setenabled(const Value: boolean); virtual; |
| Protected | function getvisible: boolean; |
| Protected | procedure setvisible(const avalue: boolean); virtual; |
| Protected | function isvisible: boolean; |
| Protected | function parentisvisible: boolean; |
| Protected | function parentvisible: boolean; |
| Protected | function updateopaque(const children: boolean; const widgetregioncall: boolean): boolean; |
| Protected | procedure dragstarted; virtual; |
| Protected | function getzoomrefframe: framety; virtual; |
| Protected | function getdragrect(const apos: pointty): rectty; virtual; |
| Protected | procedure widgetregioninvalid; |
| Protected | procedure setframeinstance(instance: tcustomframe); virtual; |
| Protected | procedure setstaticframe(value: boolean); |
| Protected | function getstaticframe: boolean; |
| Protected | function getwidgetrect: rectty; |
| Protected | function getcomponentstate: tcomponentstate; |
| Protected | function getframestateflags: framestateflagsty; virtual; |
| Protected | function getwidget: twidget; |
| Protected | function getframe: tcustomframe; |
| Protected | procedure setframe(const avalue: tcustomframe); |
| Protected | function getface: tcustomface; |
| Protected | procedure setface(const avalue: tcustomface); |
| Protected | function getgdi: pgdifunctionaty; virtual; |
| Protected | procedure createwindow; virtual; |
| Protected | procedure objectchanged(const sender: tobject); virtual; |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
| Protected | procedure receiveevent(const event: tobjectevent); override; |
| Protected | procedure setchildorder(child: tcomponent; order: integer); overload; override; |
| Protected | procedure setparentcomponent(value: tcomponent); override; |
| Protected | function clearparentwidget: twidget; |
| Protected | procedure setparentwidget(const Value: twidget); virtual; |
| Protected | procedure setlockedparentwidget(const avalue: twidget); |
| Protected | procedure updatewindowinfo(var info: windowinfoty); virtual; |
| Protected | procedure windowcreated; virtual; |
| Protected | procedure setoptionswidget(const avalue: optionswidgetty); virtual; |
| Protected | procedure setoptionswidget1(const avalue: optionswidget1ty); virtual; |
| Protected | procedure getchildren(proc: tgetchildproc; root: tcomponent); override; |
| Protected | procedure initparentclientsize; |
| Protected | function getcaretcliprect: rectty; virtual; |
| Protected | procedure dobeginread; override; |
| Protected | procedure doendread; override; |
| Protected | procedure loaded; override; |
| Protected | procedure setdesigning(value: boolean; setchildren : boolean = true); override; |
| Protected | procedure updatemousestate(const info: mouseeventinfoty); virtual; |
| Protected | procedure setclientclick; |
| Protected | procedure releasebuttonpressgrab(); |
| Protected | procedure registerchildwidget(const child: twidget); virtual; |
| Protected | procedure unregisterchildwidget(const child: twidget); virtual; |
| Protected | function isfontstored: Boolean; |
| Protected | procedure setfont(const avalue: twidgetfont); |
| Protected | function getfont: twidgetfont; |
| Protected | function getfont1: twidgetfont; |
| Protected | function isfontemptystored: Boolean; |
| Protected | procedure setfontempty(const avalue: twidgetfontempty); |
| Protected | function getfontempty: twidgetfontempty; |
| Protected | function getfontempty1: twidgetfontempty; |
| Protected | function getframefont: tfont; |
| Protected | procedure fontchanged; virtual; |
| Protected | procedure fontcanvaschanged; virtual; |
| Protected | procedure updatecursorshape(apos: pointty); |
| Protected | procedure parentclientrectchanged; virtual; |
| Protected | procedure parentwidgetregionchanged(const sender: twidget); virtual; |
| Protected | procedure widgetregionchanged(const sender: twidget); virtual; |
| Protected | procedure scalebasechanged(const sender: twidget); virtual; |
| Protected | procedure ifiwidgetstatechanged; |
| Protected | function getifiwidgetstate: ifiwidgetstatesty; virtual; |
| Protected | procedure cursorchanged; |
| Protected | procedure statechanged; virtual; |
| Protected | procedure enabledchanged; virtual; |
| Protected | procedure activechanged; virtual; |
| Protected | procedure visiblepropchanged; virtual; |
| Protected | procedure visiblechanged; virtual; |
| Protected | procedure colorchanged; virtual; |
| Protected | procedure sizechanged; virtual; |
| Protected | procedure getautopaintsize(var asize: sizety); virtual; |
| Protected | procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); virtual; |
| Protected | procedure childclientrectchanged(const sender: twidget); virtual; |
| Protected | procedure childautosizechanged(const sender: twidget); virtual; |
| Protected | procedure poschanged; virtual; |
| Protected | procedure clientrectchanged; virtual; |
| Protected | procedure parentchanged; virtual; |
| Protected | procedure rootchanged(const aflags: rootchangeflagsty); virtual; |
| Protected | function getdefaultfocuschild: twidget; virtual; |
| Protected | procedure setdefaultfocuschild(const value: twidget); virtual; |
| Protected | function trycancelmodal(const newactive: twindow): boolean; virtual; |
| Protected | procedure sortzorder; |
| Protected | function needsdesignframe: boolean; virtual; |
| Protected | function getactface: tcustomface; virtual; |
| Protected | procedure dobeforepaint(const canvas: tcanvas); virtual; |
| Protected | procedure dopaint(const canvas: tcanvas); virtual; |
| Protected | procedure paintbackground(const canvas: tcanvas; const arect: rectty); virtual; |
| Protected | procedure dopaintbackground(const canvas: tcanvas); virtual; |
| Protected | procedure doonpaintbackground(const canvas: tcanvas); virtual; |
| Protected | procedure dobeforepaintforeground(const canvas: tcanvas); virtual; |
| Protected | procedure dopaintforeground(const canvas: tcanvas); virtual; |
| Protected | procedure doonpaint(const canvas: tcanvas); virtual; |
| Protected | procedure paintoverlay(const canvas: tcanvas; const arect: rectty); virtual; |
| Protected | procedure dopaintoverlay(const canvas: tcanvas); virtual; |
| Protected | procedure doafterpaint(const canvas: tcanvas); virtual; |
| Protected | procedure doscroll(const dist: pointty); virtual; |
| Protected | procedure doscrolled(const dist: pointty); virtual; |
| Protected | procedure doloaded() virtual; |
| Protected | procedure dohide() virtual; |
| Protected | procedure doshow() virtual; |
| Protected | procedure doactivate() virtual; |
| Protected | procedure doafteractivate() virtual; |
| Protected | procedure dodeactivate() virtual; |
| Protected | procedure doenter() virtual; |
| Protected | procedure doexit() virtual; |
| Protected | procedure dofocus() virtual; |
| Protected | procedure dodefocus() virtual; |
| Protected | procedure dochildfocused(const sender: twidget); virtual; |
| Protected | procedure dofocuschanged(const oldwidget,newwidget: twidget); virtual; |
| Protected | procedure domousewheelevent(var info: mousewheeleventinfoty); virtual; |
| Protected | function wantmousefocus(const info: mouseeventinfoty): boolean; |
| Protected | procedure reflectmouseevent(var info: mouseeventinfoty); |
| Protected | procedure mouseevent(var info: mouseeventinfoty); virtual; |
| Protected | procedure mousepreview(const sender: twidget; var info: mouseeventinfoty); virtual; |
| Protected | procedure childmouseevent(const sender: twidget; var info: mouseeventinfoty); virtual; |
| Protected | procedure clientmouseevent(var info: mouseeventinfoty); virtual; |
| Protected | procedure mousewheelevent(var info: mousewheeleventinfoty); virtual; |
| Protected | procedure dokeydown1(var info: keyeventinfoty); |
| Protected | procedure dokeydown(var info: keyeventinfoty); virtual; |
| Protected | procedure doshortcut(var info: keyeventinfoty; const sender: twidget); virtual; |
| Protected | function checkfocusshortcut(var info: keyeventinfoty): boolean; virtual; |
| Protected | procedure handlenavigkeys(var info: keyeventinfoty; const nowrap: boolean = false); virtual; |
| Protected | procedure dokeydownaftershortcut(var info: keyeventinfoty); virtual; |
| Protected | procedure dokeyup(var info: keyeventinfoty); virtual; |
| Protected | procedure dofontchanged(const sender: tobject); |
| Protected | procedure setfontheight; |
| Protected | procedure postchildscaled; |
| Protected | function verticalfontheightdelta: boolean; virtual; |
| Protected | procedure dofontheightdelta(var delta: integer); virtual; |
| Protected | procedure syncsinglelinefontheight(const lineheight: boolean = false; const space: integer = 2); |
| Protected | procedure setwidgetrect(const Value: rectty); |
| Protected | procedure internalsetwidgetrect(Value: rectty; const windowevent: boolean); virtual; |
| Protected | function getclientpos: pointty; |
| Protected | function getclientsize: sizety; |
| Protected | procedure setclientsize(const asize: sizety); virtual; |
| Protected | function getclientwidth: integer; |
| Protected | procedure setclientwidth(const avalue: integer); |
| Protected | function getclientheight: integer; |
| Protected | procedure setclientheight(const avalue: integer); |
| Protected | function internalshow(const modallevel: modallevelty; const transientfor: pwindow; const windowevent,nomodalforreset: boolean): modalresultty; virtual; |
| Protected | procedure internalhide(const windowevent: boolean); |
| Protected | function checksubfocus(const aactivate: boolean): boolean; virtual; |
| Protected | function getnextfocus: twidget; |
| Protected | function cantabfocus: boolean; |
| Protected | function getdisprect: rectty; virtual; |
| Protected | function getshrinkpriority: integer; virtual; |
| Protected | procedure tryshrink(const aclientsize: sizety); virtual; |
| Protected | function calcminscrollsize: sizety; virtual; |
| Protected | function getminshrinkpos: pointty; virtual; |
| Protected | function calcminshrinksize: sizety; virtual; |
| Protected | function getcontainer: twidget; virtual; |
| Protected | function getchildwidgets(const index: integer): twidget; virtual; |
| Protected | function getright: integer; |
| Protected | procedure setright(const avalue: integer); |
| Protected | function getbottom: integer; |
| Protected | procedure setbottom(const avalue: integer); |
| Protected | function ownswindow1: boolean; |
| Protected | procedure internalcreateframe; virtual; |
| Protected | procedure internalcreateface; virtual; |
| Protected | function getfontclass: widgetfontclassty; virtual; |
| Protected | function getfontemptyclass: widgetfontemptyclassty; virtual; |
| Protected | procedure internalcreatefont; virtual; |
| Protected | procedure internalcreatefontempty; virtual; |
| Protected | function getclientrect: rectty; |
| Protected | function windowpo: pwindowty; |
| Protected | function canclose1: boolean; |
| Protected | function getiassistiveclient(): iassistiveclient virtual; |
| Protected | function getassistiveparent(): iassistiveclient virtual; |
| Protected | function getassistivewidget(): tobject virtual; |
| Protected | function getassistivename(): msestring virtual; |
| Protected | function getassistivecaption(): msestring virtual; |
| Protected | function getassistivetext(): msestring virtual; |
| Protected | function getassistivecaretindex(): int32 virtual; |
| Protected | function getassistivehint(): msestring virtual; |
| Protected | function getassistiveflags(): assistiveflagsty virtual; |
| Protected | function getifidatalinkintf(): iifidatalink virtual; |
| Public | constructor create(aowner: tcomponent); overload; override; |
| Public | constructor create(const aowner: tcomponent; const aparentwidget: twidget); overload; |
| Public | constructor create(const aowner: tcomponent; const aparentwidget: twidget; const aiswidget: boolean); overload; |
| Public | constructor createandinit(const aowner: tcomponent; const aparentwidget: twidget; const aiswidget: boolean); overload; |
| Public | destructor destroy; override; |
| Public | procedure afterconstruction; override; |
| Public | procedure initnewcomponent(const ascale: real); override; |
| Public | procedure initnewwidget(const ascale: real); virtual; |
| Public | procedure createframe; |
| Public | procedure createface; |
| Public | procedure createfont; |
| Public | procedure createfontempty; |
| Public | procedure checkautosize(); |
| Public | procedure updatehotkeys() virtual; |
| Public | function isloading: boolean; |
| Public | procedure beginupdate; |
| Public | procedure endupdate; |
| Public | function canmouseinteract: boolean; |
| Public | function canassistive(): boolean virtual; |
| Public | function widgetstate: widgetstatesty; |
| Public | function hasparent: boolean; override; |
| Public | function getparentcomponent: tcomponent; override; |
| Public | function hascaret: boolean; |
| Public | function canwindow: boolean; |
| Public | function windowallocated: boolean; |
| Public | function ownswindow: boolean; |
| Public | function updaterect: rectty; |
| Public | procedure beforeclosequery(var amodalresult: modalresultty); virtual; |
| Public | function canclose(const newfocus: twidget = nil): boolean; virtual; |
| Public | function canparentclose(const newfocus: twidget): boolean; overload; |
| Public | function forceclose: boolean; |
| Public | function canparentclose: boolean; overload; |
| Public | function canfocus: boolean; virtual; |
| Public | function setfocus(aactivate: boolean = true): boolean; virtual; |
| Public | procedure parentfocus; |
| Public | procedure nextfocus; |
| Public | function findtabfocus(const ataborder: integer): twidget; |
| Public | function firsttabfocus: twidget; |
| Public | function lasttabfocus: twidget; |
| Public | function nexttaborder(const down: boolean = false; nowrap: boolean = false): twidget; |
| Public | function focusback(const aactivate: boolean = true): boolean; virtual; |
| Public | function parentcolor: colorty; |
| Public | function actualcolor: colorty; virtual; |
| Public | function actualopaquecolor: colorty; virtual; |
| Public | function backgroundcolor: colorty; |
| Public | function translatecolor(const acolor: colorty): colorty; |
| Public | procedure widgetevent(const event: twidgetevent); virtual; |
| Public | procedure sendwidgetevent(const event: twidgetevent); |
| Public | procedure release(const nomodaldefer: boolean=false); override; |
| Public | function show(const modallevel: modallevelty; const transientfor: twindow = nil): modalresultty; overload; virtual; |
| Public | function show(const modallevel: modallevelty; const transientfor: twidget): modalresultty; overload; |
| Public | function show(const modal: boolean = false; const transientfor: twindow = nil): modalresultty; overload; |
| Public | procedure endmodal; |
| Public | procedure hide; |
| Public | procedure activate(const abringtofront: boolean = true; const aforce: boolean = false); virtual; |
| Public | procedure bringtofront; |
| Public | procedure sendtoback; |
| Public | procedure stackunder(const predecessor: twidget); |
| Public | procedure setchildorder(const achildren: widgetarty); overload; |
| Public | procedure paint(const canvas: tcanvas); virtual; |
| Public | procedure update; virtual; |
| Public | procedure scrollwidgets(const dist: pointty); |
| Public | procedure scrollrect(const dist: pointty; const rect: rectty; scrollcaret: boolean); |
| Public | procedure scroll(const dist: pointty); |
| Public | procedure clampinview(const arect: rectty; const bottomright: boolean = false); virtual; |
| Public | procedure getcaret; |
| Public | procedure scrollcaret(const dist: pointty); |
| Public | function mousecaptured: boolean; |
| Public | function capturemouse(grab: boolean = true): boolean; |
| Public | procedure releasemouse(const grab: boolean = false); |
| Public | function capturekeyboard: boolean; |
| Public | procedure releasekeyboard; |
| Public | procedure synctofontheight; virtual; |
| Public | procedure dragevent(var info: draginfoty); virtual; |
| Public | procedure dolayout(const sender: twidget); virtual; |
| Public | procedure invalidatewidget; |
| Public | procedure invalidate; |
| Public | procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
| Public | procedure invalidateframestate; |
| Public | procedure invalidateframestaterect(const rect: rectty; const aframe: tcustomframe; const org: originty = org_client); |
| Public | function hasoverlappingsiblings(arect: rectty): boolean; |
| Public | function window: twindow; |
| Public | function rootwidget: twidget; |
| Public | function parentofcontainer: twidget; |
| Public | function getrootwidgetpath: widgetarty; |
| Public | function widgetcount: integer; |
| Public | function parentwidgetindex: integer; |
| Public | function indexofwidget(const awidget: twidget): integer; |
| Public | function checkdescendent(awidget: twidget): boolean; |
| Public | function checkancestor(awidget: twidget): boolean; |
| Public | function containswidget(awidget: twidget): boolean; |
| Public | function widgetatpos(var info: widgetatposinfoty): twidget; overload; |
| Public | function widgetatpos(const pos: pointty): twidget; overload; |
| Public | function widgetatpos(const pos: pointty; const state: widgetstatesty): twidget; overload; |
| Public | function containeroffset: pointty; |
| Public | function childrencount: integer; virtual; |
| Public | function visiblechildrencount: integer; |
| Public | function findtagchild(const atag: integer; const aclass: widgetclassty): twidget; |
| Public | function findchild(const aname: ansistring): twidget; |
| Public | function childatpos(const pos: pointty; const clientorigin: boolean = true): twidget; virtual; |
| Public | function gettaborderedwidgets: widgetarty; |
| Public | function getvisiblewidgets: widgetarty; |
| Public | function getcornerwidget(const side: graphicdirectionty; const visibleonly: boolean): twidget; |
| Public | function getsortxchildren(const banded: boolean = false): widgetarty; |
| Public | function getsortychildren(const banded: boolean = false): widgetarty; |
| Public | function getlogicalchildren: widgetarty; virtual; |
| Public | procedure addlogicalchildren(var achildren: widgetarty); |
| Public | function findlogicalchild(const aname: ansistring): twidget; |
| Public | function enteredchild(): twidget; |
| Public | function mouseeventwidget(const info: mouseeventinfoty): twidget; |
| Public | procedure insertwidget(const awidget: twidget); overload; |
| Public | procedure insertwidget(const awidget: twidget; const apos: pointty); overload; virtual; |
| Public | function iswidgetclick(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
| Public | function iswidgetdblclick(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
| Public | function iswidgetdblclicked(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
| Public | function isclick(const info: mouseeventinfoty): boolean; |
| Public | function isdblclick(const info: mouseeventinfoty): boolean; |
| Public | function isdblclicked(const info: mouseeventinfoty): boolean; |
| Public | function isleftbuttondown(const info: mouseeventinfoty): boolean; overload; |
| Public | function isleftbuttondown(const info: mouseeventinfoty; const akeyshiftstate: shiftstatesty): boolean; overload; |
| Public | function widgetmousepos(const ainfo: mouseeventinfoty): pointty; |
| Public | function rootpos: pointty; |
| Public | function rootwidgetrect: rectty; |
| Public | function clientpostowidgetpos(const apos: pointty): pointty; |
| Public | function widgetpostoclientpos(const apos: pointty): pointty; |
| Public | function widgetpostopaintpos(const apos: pointty): pointty; |
| Public | function paintpostowidgetpos(const apos: pointty): pointty; |
| Public | procedure scale(const ascale: real); virtual; |
| Public | function widgetscreenrect: rectty; |
| Public | function widgetclientrect: rectty; |
| Public | function widgetminsize: sizety; |
| Public | function widgetmaxsize: sizety; |
| Public | function maxclientsize: sizety; virtual; |
| Public | function minscrollsize: sizety; |
| Public | function minshrinksize: sizety; |
| Public | procedure setclippedwidgetrect(arect: rectty); |
| Public | function framedim: sizety; |
| Public | function framedimnoscrollbar: sizety; |
| Public | function clientframewidth: sizety; |
| Public | function innerclientframewidth: sizety; |
| Public | function innerframewidth: sizety; |
| Public | function framerect: rectty; |
| Public | function framepos: pointty; |
| Public | function frameinnerrect: rectty; |
| Public | function paintrect: rectty; |
| Public | function paintclientrect: rectty; |
| Public | function paintpos: pointty; |
| Public | function clippedpaintrect: rectty; |
| Public | function innerpaintrect: rectty; |
| Public | procedure setanchordwidgetsize(const asize: sizety); |
| Public | function widgetsizerect: rectty; |
| Public | function paintsizerect: rectty; |
| Public | function clientsizerect: rectty; |
| Public | function containerclientsizerect: rectty; |
| Public | procedure changeclientsize(const delta: sizety); |
| Public | function clientwidgetrect: rectty; |
| Public | function clientwidgetpos: pointty; |
| Public | function clientparentpos: pointty; |
| Public | function paintparentrect: rectty; |
| Public | function paintparentpos: pointty; |
| Public | function parentpaintpos: pointty; |
| Public | function refpos(const aorigin: originty): pointty; |
| Public | function paintrectparent: rectty; |
| Public | function clientrectparent: rectty; |
| Public | function innerparentrect: rectty; |
| Public | function innerwidgetrect: rectty; |
| Public | function innerclientrect: rectty; |
| Public | function innerclientsize: sizety; |
| Public | function innerclientpos: pointty; |
| Public | function innerclientframe: framety; |
| Public | function innerclientpaintpos: pointty; |
| Public | function innerclientwidgetpos: pointty; |
| Public | procedure innertopaintsize(var asize: sizety); |
| Public | procedure outertopaintsize(var asize: sizety); |
| Public | procedure painttowidgetsize(var asize: sizety); |
| Public | procedure widgettopaintsize(var asize: sizety); |
| Public | function getcanvas(aorigin: originty = org_client): tcanvas; |
| Public | function showing: boolean; |
| Public | function isenabled: boolean; |
| Public | function active: boolean; |
| Public | function entered: boolean; |
| Public | function activeentered: boolean; |
| Public | function activefocused(): boolean; |
| Public | function focused: boolean; |
| Public | function clicked: boolean; |
| Public | procedure changedirection(const avalue: graphicdirectionty; var dest: graphicdirectionty); virtual; |
| Public | procedure placexorder(const startx: integer; const dist: array of integer; const awidgets: array of twidget; const endmargin: integer = minint); |
| Public | procedure placeyorder(const starty: integer; const dist: array of integer; const awidgets: array of twidget; const endmargin: integer = minint); |
| Public | function alignx(const mode: widgetalignmodety; const awidgets: array of twidget; const glue: widgetalignmodety = wam_none; const margin: integer = 0): integer; |
| Public | function aligny(const mode: widgetalignmodety; const awidgets: array of twidget; const glue: widgetalignmodety = wam_none; const margin: integer = 0): integer; |
| Public | function actualcursor(const apos: pointty): cursorshapety; virtual; |
Properties
| Public | property widgetstate1: widgetstates1ty read fwidgetstate1; |
| Public | property parentwidget: twidget read fparentwidget write setparentwidget; |
| Public | property widgets[const index: integer]: twidget read getwidgets; |
| Public | property container: twidget read getcontainer; |
| Public | property children[const index: integer]: twidget read getchildwidgets; |
| Public | property focusedchild: twidget read ffocusedchild; |
| Public | property focusedchildbefore: twidget read ffocusedchildbefore; |
| Public | property screenpos: pointty read getscreenpos write setscreenpos; |
| Public | property widgetrect: rectty read fwidgetrect write setwidgetrect; |
| Public | property pos: pointty read fwidgetrect.pos write setpos; |
| Public | property size: sizety read fwidgetrect.size write setsize; |
| Public | property minsize: sizety read fminsize write setminsize; |
| Public | property maxsize: sizety read fmaxsize write setmaxsize; |
| Public | property bounds_x: integer read fwidgetrect.x write setbounds_x; |
| Public | property bounds_y: integer read fwidgetrect.y write setbounds_y; |
| Public | property bounds_cx: integer read fwidgetrect.cx write setbounds_cx
stored true; |
| Public | property bounds_cy: integer read fwidgetrect.cy write setbounds_cy
stored true; |
| Public | property bounds_cxmin: integer read fminsize.cx
write setbounds_cxmin default 0; |
| Public | property bounds_cymin: integer read fminsize.cy
write setbounds_cymin default 0; |
| Public | property bounds_cxmax: integer read fmaxsize.cx
write setbounds_cxmax default 0; |
| Public | property bounds_cymax: integer read fmaxsize.cy
write setbounds_cymax default 0; |
| Public | property left: integer read fwidgetrect.x write setbounds_x; |
| Public | property right: integer read getright write setright; |
| Public | property top: integer read fwidgetrect.y write setbounds_y; |
| Public | property bottom: integer read getbottom write setbottom; |
| Public | property width: integer read fwidgetrect.cx write setbounds_cx; |
| Public | property height: integer read fwidgetrect.cy write setbounds_cy; |
| Public | property anchors: anchorsty read fanchors write setanchors
default defaultanchors; |
| Public | property defaultfocuschild: twidget read getdefaultfocuschild
write setdefaultfocuschild; |
| Public | property framesize: sizety read getframesize write setframesize; |
| Public | property framewidth: integer read geframewidth write setframewidth; |
| Public | property frameheight: integer read getframeheight write setframeheight; |
| Public | property paintsize: sizety read getpaintsize write setpaintsize; |
| Public | property paintwidth: integer read getpaintwidth write setpaintwidth; |
| Public | property paintheight: integer read getpaintheight write setpaintheight; |
| Public | property clientrect: rectty read getclientrect; |
| Public | property clientsize: sizety read getclientsize write setclientsize; |
| Public | property clientwidth: integer read getclientwidth write setclientwidth; |
| Public | property clientheight: integer read getclientheight write setclientheight; |
| Public | property clientpos: pointty read getclientpos; |
| Public | property parentclientpos: pointty read getparentclientpos
write setparentclientpos; |
| Public | property frame: tcustomframe read getframe write setframe; |
| Public | property face: tcustomface read getface write setface; |
| Public | property optionswidget: optionswidgetty read foptionswidget
write setoptionswidget default defaultoptionswidget; |
| Public | property optionswidget1: optionswidget1ty read foptionswidget1
write setoptionswidget1 default defaultoptionswidget1; |
| Public | property optionsskin: optionsskinty read foptionsskin
write setoptionsskin default []; |
| Public | property cursor: cursorshapety read fcursor write setcursor
default cr_default; |
| Public | property color: colorty read fcolor write setcolor
default defaultwidgetcolor; |
| Public | property visible: boolean read getvisible write setvisible default true; |
| Public | property enabled: boolean read getenabled write setenabled default true; |
| Public | property taborder: integer read ftaborder write settaborder default 0; |
| Public | property hint: msestring read gethint write sethint stored ishintstored; |
| Public | property zorder: integer read getzorder write setzorder; |
| Published | property onnavigrequest: navigrequesteventty read fonnavigrequest
write fonnavigrequest; |
| Published | property skingroup: integer read fskingroup write fskingroup default 0; |
| Published | property onbeforeupdateskin; |
| Published | property onafterupdateskin; |
Description
Fields
| Protected | fwidgets: widgetarty; |
|
This item has no description. | |
| Protected | fnoinvalidate: integer; |
|
This item has no description. | |
| Protected | fwidgetupdating: integer; |
|
This item has no description. | |
| Protected | foptionswidget: optionswidgetty; |
|
This item has no description. | |
| Protected | foptionswidget1: optionswidget1ty; |
|
This item has no description. | |
| Protected | fparentwidget: twidget; |
|
This item has no description. | |
| Protected | fanchors: anchorsty; |
|
This item has no description. | |
| Protected | fwidgetstate: widgetstatesty; |
|
This item has no description. | |
| Protected | fwidgetstate1: widgetstates1ty; |
|
This item has no description. | |
| Protected | fcolor: colorty; |
|
This item has no description. | |
| Protected | fwindow: twindow; |
|
This item has no description. | |
| Protected | fwidgetrect: rectty; |
|
This item has no description. | |
| Protected | fparentclientsize: sizety; |
|
This item has no description. | |
| Protected | fframe: tcustomframe; |
|
This item has no description. | |
| Protected | fface: tcustomface; |
|
This item has no description. | |
| Protected | ffont: twidgetfont; |
|
This item has no description. | |
| Protected | ffontempty: twidgetfontempty; |
|
This item has no description. | |
| Protected | fhint: msestring; |
|
This item has no description. | |
| Protected | fdefaultfocuschild: twidget; |
|
This item has no description. | |
Methods
| Protected | procedure checksizes(); |
|
This item has no description. | |
| Protected | function widgetminsize1: sizety; |
|
This item has no description. | |
| Protected | function widgetmaxsize1: sizety; |
|
This item has no description. | |
| Protected | function minclientsize: sizety; |
|
This item has no description. | |
| Protected | function isdesignwidget(): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure setdesignwidget(); |
|
This item has no description. | |
| Protected | procedure designmouseevent(var info: moeventinfoty; capture: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure designkeyevent(const eventkind: eventkindty; var info: keyeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | function gethelpcontext: msestring; override; |
|
This item has no description. | |
| Protected | class function classskininfo: skininfoty; override; |
|
This item has no description. | |
| Protected | function skininfo: skininfoty; override; |
|
This item has no description. | |
| Protected | function hasskin: boolean; override; |
|
This item has no description. | |
| Protected | function navigstartrect: rectty; virtual; |
|
This item has no description. | |
| Protected | function navigrect: rectty; virtual; |
|
This item has no description. | |
| Protected | procedure navigrequest(var info: naviginfoty; const nowrap: boolean = false); virtual; |
|
This item has no description. | |
| Protected | function navigdistance(var info: naviginfoty; const nowrap: boolean = false): integer; virtual; |
|
This item has no description. | |
| Protected | function nexttaborderoverride(const sender: twidget; const down: boolean = false): twidget virtual; |
|
This item has no description. | |
| Protected | function getwidgetrects(const awidgets: array of twidget): rectarty; |
|
This item has no description. | |
| Protected | procedure setwidgetrects(const awidgets: array of twidget; const arects: rectarty); |
|
This item has no description. | |
| Protected | procedure updateroot; |
|
This item has no description. | |
| Protected | procedure setcolor(const avalue: colorty); virtual; |
|
This item has no description. | |
| Protected | function gethint: msestring; virtual; |
|
This item has no description. | |
| Protected | procedure sethint(const Value: msestring); virtual; |
|
This item has no description. | |
| Protected | function ishintstored: boolean; virtual; |
|
This item has no description. | |
| Protected | function getshowhint: boolean; |
|
This item has no description. | |
| Protected | procedure showhint(const aid: int32; var info: hintinfoty); virtual; |
|
This item has no description. | |
| Protected | function isgroupleader: boolean; virtual; |
|
This item has no description. | |
| Protected | function needsfocuspaint: boolean; virtual; |
|
This item has no description. | |
| Protected | function needsfocuspaintstate(): boolean; |
|
This item has no description. | |
| Protected | function getnoscroll(): boolean; virtual; |
|
This item has no description. | |
| Protected | function getenabled: boolean; |
|
This item has no description. | |
| Protected | procedure setenabled(const Value: boolean); virtual; |
|
This item has no description. | |
| Protected | function getvisible: boolean; |
|
This item has no description. | |
| Protected | procedure setvisible(const avalue: boolean); virtual; |
|
This item has no description. | |
| Protected | function isvisible: boolean; |
|
This item has no description. | |
| Protected | function parentisvisible: boolean; |
|
This item has no description. | |
| Protected | function parentvisible: boolean; |
|
This item has no description. | |
| Protected | function updateopaque(const children: boolean; const widgetregioncall: boolean): boolean; |
|
This item has no description. | |
| Protected | procedure dragstarted; virtual; |
|
This item has no description. | |
| Protected | function getzoomrefframe: framety; virtual; |
|
This item has no description. | |
| Protected | function getdragrect(const apos: pointty): rectty; virtual; |
|
This item has no description. | |
| Protected | procedure widgetregioninvalid; |
|
This item has no description. | |
| Protected | procedure setframeinstance(instance: tcustomframe); virtual; |
|
This item has no description. | |
| Protected | procedure setstaticframe(value: boolean); |
|
This item has no description. | |
| Protected | function getstaticframe: boolean; |
|
This item has no description. | |
| Protected | function getwidgetrect: rectty; |
|
This item has no description. | |
| Protected | function getcomponentstate: tcomponentstate; |
|
This item has no description. | |
| Protected | function getframestateflags: framestateflagsty; virtual; |
|
This item has no description. | |
| Protected | function getwidget: twidget; |
|
This item has no description. | |
| Protected | function getframe: tcustomframe; |
|
This item has no description. | |
| Protected | procedure setframe(const avalue: tcustomframe); |
|
This item has no description. | |
| Protected | function getface: tcustomface; |
|
This item has no description. | |
| Protected | procedure setface(const avalue: tcustomface); |
|
This item has no description. | |
| Protected | function getgdi: pgdifunctionaty; virtual; |
|
This item has no description. | |
| Protected | procedure createwindow; virtual; |
|
This item has no description. | |
| Protected | procedure objectchanged(const sender: tobject); virtual; |
|
This item has no description. | |
| Protected | procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
This item has no description. | |
| Protected | procedure receiveevent(const event: tobjectevent); override; |
|
This item has no description. | |
| Protected | procedure setchildorder(child: tcomponent; order: integer); overload; override; |
|
This item has no description. | |
| Protected | procedure setparentcomponent(value: tcomponent); override; |
|
This item has no description. | |
| Protected | function clearparentwidget: twidget; |
|
This item has no description. | |
| Protected | procedure setparentwidget(const Value: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure setlockedparentwidget(const avalue: twidget); |
|
This item has no description. | |
| Protected | procedure updatewindowinfo(var info: windowinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure windowcreated; virtual; |
|
This item has no description. | |
| Protected | procedure setoptionswidget(const avalue: optionswidgetty); virtual; |
|
This item has no description. | |
| Protected | procedure setoptionswidget1(const avalue: optionswidget1ty); virtual; |
|
This item has no description. | |
| Protected | procedure getchildren(proc: tgetchildproc; root: tcomponent); override; |
|
This item has no description. | |
| Protected | procedure initparentclientsize; |
|
This item has no description. | |
| Protected | function getcaretcliprect: rectty; virtual; |
|
This item has no description. | |
| Protected | procedure dobeginread; override; |
|
This item has no description. | |
| Protected | procedure doendread; override; |
|
This item has no description. | |
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | procedure setdesigning(value: boolean; setchildren : boolean = true); override; |
|
This item has no description. | |
| Protected | procedure updatemousestate(const info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure setclientclick; |
|
This item has no description. | |
| Protected | procedure releasebuttonpressgrab(); |
|
This item has no description. | |
| Protected | procedure registerchildwidget(const child: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure unregisterchildwidget(const child: twidget); virtual; |
|
This item has no description. | |
| Protected | function isfontstored: Boolean; |
|
This item has no description. | |
| Protected | procedure setfont(const avalue: twidgetfont); |
|
This item has no description. | |
| Protected | function getfont: twidgetfont; |
|
This item has no description. | |
| Protected | function getfont1: twidgetfont; |
|
This item has no description. | |
| Protected | function isfontemptystored: Boolean; |
|
This item has no description. | |
| Protected | procedure setfontempty(const avalue: twidgetfontempty); |
|
This item has no description. | |
| Protected | function getfontempty: twidgetfontempty; |
|
This item has no description. | |
| Protected | function getfontempty1: twidgetfontempty; |
|
This item has no description. | |
| Protected | function getframefont: tfont; |
|
This item has no description. | |
| Protected | procedure fontchanged; virtual; |
|
This item has no description. | |
| Protected | procedure fontcanvaschanged; virtual; |
|
This item has no description. | |
| Protected | procedure updatecursorshape(apos: pointty); |
|
This item has no description. | |
| Protected | procedure parentclientrectchanged; virtual; |
|
This item has no description. | |
| Protected | procedure parentwidgetregionchanged(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure widgetregionchanged(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure scalebasechanged(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure ifiwidgetstatechanged; |
|
This item has no description. | |
| Protected | function getifiwidgetstate: ifiwidgetstatesty; virtual; |
|
This item has no description. | |
| Protected | procedure cursorchanged; |
|
This item has no description. | |
| Protected | procedure statechanged; virtual; |
|
This item has no description. | |
| Protected | procedure enabledchanged; virtual; |
|
This item has no description. | |
| Protected | procedure activechanged; virtual; |
|
This item has no description. | |
| Protected | procedure visiblepropchanged; virtual; |
|
This item has no description. | |
| Protected | procedure visiblechanged; virtual; |
|
This item has no description. | |
| Protected | procedure colorchanged; virtual; |
|
This item has no description. | |
| Protected | procedure sizechanged; virtual; |
|
This item has no description. | |
| Protected | procedure getautopaintsize(var asize: sizety); virtual; |
|
This item has no description. | |
| Protected | procedure getautocellsize(const acanvas: tcanvas; var asize: sizety); virtual; |
|
This item has no description. | |
| Protected | procedure childclientrectchanged(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure childautosizechanged(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure poschanged; virtual; |
|
This item has no description. | |
| Protected | procedure clientrectchanged; virtual; |
|
This item has no description. | |
| Protected | procedure parentchanged; virtual; |
|
This item has no description. | |
| Protected | procedure rootchanged(const aflags: rootchangeflagsty); virtual; |
|
This item has no description. | |
| Protected | function getdefaultfocuschild: twidget; virtual; |
|
This item has no description. | |
| Protected | procedure setdefaultfocuschild(const value: twidget); virtual; |
|
This item has no description. | |
| Protected | function trycancelmodal(const newactive: twindow): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure sortzorder; |
|
This item has no description. | |
| Protected | function needsdesignframe: boolean; virtual; |
|
This item has no description. | |
| Protected | function getactface: tcustomface; virtual; |
|
This item has no description. | |
| Protected | procedure dobeforepaint(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure dopaint(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure paintbackground(const canvas: tcanvas; const arect: rectty); virtual; |
|
This item has no description. | |
| Protected | procedure dopaintbackground(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure doonpaintbackground(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure dobeforepaintforeground(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure dopaintforeground(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure doonpaint(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure paintoverlay(const canvas: tcanvas; const arect: rectty); virtual; |
|
This item has no description. | |
| Protected | procedure dopaintoverlay(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure doafterpaint(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Protected | procedure doscroll(const dist: pointty); virtual; |
|
This item has no description. | |
| Protected | procedure doscrolled(const dist: pointty); virtual; |
|
This item has no description. | |
| Protected | procedure doloaded() virtual; |
|
This item has no description. | |
| Protected | procedure dohide() virtual; |
|
This item has no description. | |
| Protected | procedure doshow() virtual; |
|
This item has no description. | |
| Protected | procedure doactivate() virtual; |
|
This item has no description. | |
| Protected | procedure doafteractivate() virtual; |
|
This item has no description. | |
| Protected | procedure dodeactivate() virtual; |
|
This item has no description. | |
| Protected | procedure doenter() virtual; |
|
This item has no description. | |
| Protected | procedure doexit() virtual; |
|
This item has no description. | |
| Protected | procedure dofocus() virtual; |
|
This item has no description. | |
| Protected | procedure dodefocus() virtual; |
|
This item has no description. | |
| Protected | procedure dochildfocused(const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure dofocuschanged(const oldwidget,newwidget: twidget); virtual; |
|
This item has no description. | |
| Protected | procedure domousewheelevent(var info: mousewheeleventinfoty); virtual; |
|
This item has no description. | |
| Protected | function wantmousefocus(const info: mouseeventinfoty): boolean; |
|
This item has no description. | |
| Protected | procedure reflectmouseevent(var info: mouseeventinfoty); |
|
This item has no description. | |
| Protected | procedure mouseevent(var info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure mousepreview(const sender: twidget; var info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure childmouseevent(const sender: twidget; var info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure clientmouseevent(var info: mouseeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure mousewheelevent(var info: mousewheeleventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure dokeydown1(var info: keyeventinfoty); |
|
This item has no description. | |
| Protected | procedure dokeydown(var info: keyeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure doshortcut(var info: keyeventinfoty; const sender: twidget); virtual; |
|
This item has no description. | |
| Protected | function checkfocusshortcut(var info: keyeventinfoty): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure handlenavigkeys(var info: keyeventinfoty; const nowrap: boolean = false); virtual; |
|
This item has no description. | |
| Protected | procedure dokeydownaftershortcut(var info: keyeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure dokeyup(var info: keyeventinfoty); virtual; |
|
This item has no description. | |
| Protected | procedure dofontchanged(const sender: tobject); |
|
This item has no description. | |
| Protected | procedure setfontheight; |
|
This item has no description. | |
| Protected | procedure postchildscaled; |
|
This item has no description. | |
| Protected | function verticalfontheightdelta: boolean; virtual; |
|
This item has no description. | |
| Protected | procedure dofontheightdelta(var delta: integer); virtual; |
|
This item has no description. | |
| Protected | procedure syncsinglelinefontheight(const lineheight: boolean = false; const space: integer = 2); |
|
This item has no description. | |
| Protected | procedure setwidgetrect(const Value: rectty); |
|
This item has no description. | |
| Protected | procedure internalsetwidgetrect(Value: rectty; const windowevent: boolean); virtual; |
|
This item has no description. | |
| Protected | function getclientpos: pointty; |
|
This item has no description. | |
| Protected | function getclientsize: sizety; |
|
This item has no description. | |
| Protected | procedure setclientsize(const asize: sizety); virtual; |
|
This item has no description. | |
| Protected | function getclientwidth: integer; |
|
This item has no description. | |
| Protected | procedure setclientwidth(const avalue: integer); |
|
This item has no description. | |
| Protected | function getclientheight: integer; |
|
This item has no description. | |
| Protected | procedure setclientheight(const avalue: integer); |
|
This item has no description. | |
| Protected | function internalshow(const modallevel: modallevelty; const transientfor: pwindow; const windowevent,nomodalforreset: boolean): modalresultty; virtual; |
|
This item has no description. | |
| Protected | procedure internalhide(const windowevent: boolean); |
|
This item has no description. | |
| Protected | function checksubfocus(const aactivate: boolean): boolean; virtual; |
|
This item has no description. | |
| Protected | function getnextfocus: twidget; |
|
This item has no description. | |
| Protected | function cantabfocus: boolean; |
|
This item has no description. | |
| Protected | function getdisprect: rectty; virtual; |
|
This item has no description. | |
| Protected | function getshrinkpriority: integer; virtual; |
|
This item has no description. | |
| Protected | procedure tryshrink(const aclientsize: sizety); virtual; |
|
This item has no description. | |
| Protected | function calcminscrollsize: sizety; virtual; |
|
This item has no description. | |
| Protected | function getminshrinkpos: pointty; virtual; |
|
This item has no description. | |
| Protected | function calcminshrinksize: sizety; virtual; |
|
This item has no description. | |
| Protected | function getcontainer: twidget; virtual; |
|
This item has no description. | |
| Protected | function getchildwidgets(const index: integer): twidget; virtual; |
|
This item has no description. | |
| Protected | function getright: integer; |
|
This item has no description. | |
| Protected | procedure setright(const avalue: integer); |
|
This item has no description. | |
| Protected | function getbottom: integer; |
|
This item has no description. | |
| Protected | procedure setbottom(const avalue: integer); |
|
This item has no description. | |
| Protected | function ownswindow1: boolean; |
|
This item has no description. | |
| Protected | procedure internalcreateframe; virtual; |
|
This item has no description. | |
| Protected | procedure internalcreateface; virtual; |
|
This item has no description. | |
| Protected | function getfontclass: widgetfontclassty; virtual; |
|
This item has no description. | |
| Protected | function getfontemptyclass: widgetfontemptyclassty; virtual; |
|
This item has no description. | |
| Protected | procedure internalcreatefont; virtual; |
|
This item has no description. | |
| Protected | procedure internalcreatefontempty; virtual; |
|
This item has no description. | |
| Protected | function getclientrect: rectty; |
|
This item has no description. | |
| Protected | function windowpo: pwindowty; |
|
This item has no description. | |
| Protected | function canclose1: boolean; |
|
This item has no description. | |
| Protected | function getiassistiveclient(): iassistiveclient virtual; |
|
This item has no description. | |
| Protected | function getassistiveparent(): iassistiveclient virtual; |
|
This item has no description. | |
| Protected | function getassistivewidget(): tobject virtual; |
|
This item has no description. | |
| Protected | function getassistivename(): msestring virtual; |
|
This item has no description. | |
| Protected | function getassistivecaption(): msestring virtual; |
|
This item has no description. | |
| Protected | function getassistivetext(): msestring virtual; |
|
This item has no description. | |
| Protected | function getassistivecaretindex(): int32 virtual; |
|
This item has no description. | |
| Protected | function getassistivehint(): msestring virtual; |
|
This item has no description. | |
| Protected | function getassistiveflags(): assistiveflagsty virtual; |
|
This item has no description. | |
| Protected | function getifidatalinkintf(): iifidatalink virtual; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); overload; override; |
|
This item has no description. | |
| Public | constructor create(const aowner: tcomponent; const aparentwidget: twidget); overload; |
|
This item has no description. | |
| Public | constructor create(const aowner: tcomponent; const aparentwidget: twidget; const aiswidget: boolean); overload; |
|
This item has no description. | |
| Public | constructor createandinit(const aowner: tcomponent; const aparentwidget: twidget; const aiswidget: boolean); overload; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure afterconstruction; override; |
|
This item has no description. | |
| Public | procedure initnewcomponent(const ascale: real); override; |
|
This item has no description. | |
| Public | procedure initnewwidget(const ascale: real); virtual; |
|
This item has no description. | |
| Public | procedure createframe; |
|
This item has no description. | |
| Public | procedure createface; |
|
This item has no description. | |
| Public | procedure createfont; |
|
This item has no description. | |
| Public | procedure createfontempty; |
|
This item has no description. | |
| Public | procedure checkautosize(); |
|
This item has no description. | |
| Public | procedure updatehotkeys() virtual; |
|
This item has no description. | |
| Public | function isloading: boolean; |
|
This item has no description. | |
| Public | procedure beginupdate; |
|
This item has no description. | |
| Public | procedure endupdate; |
|
This item has no description. | |
| Public | function canmouseinteract: boolean; |
|
This item has no description. | |
| Public | function canassistive(): boolean virtual; |
|
This item has no description. | |
| Public | function widgetstate: widgetstatesty; |
|
This item has no description. | |
| Public | function hasparent: boolean; override; |
|
This item has no description. | |
| Public | function getparentcomponent: tcomponent; override; |
|
This item has no description. | |
| Public | function hascaret: boolean; |
|
This item has no description. | |
| Public | function canwindow: boolean; |
|
This item has no description. | |
| Public | function windowallocated: boolean; |
|
This item has no description. | |
| Public | function ownswindow: boolean; |
|
This item has no description. | |
| Public | function updaterect: rectty; |
|
This item has no description. | |
| Public | procedure beforeclosequery(var amodalresult: modalresultty); virtual; |
|
This item has no description. | |
| Public | function canclose(const newfocus: twidget = nil): boolean; virtual; |
|
This item has no description. | |
| Public | function canparentclose(const newfocus: twidget): boolean; overload; |
|
This item has no description. | |
| Public | function forceclose: boolean; |
|
This item has no description. | |
| Public | function canparentclose: boolean; overload; |
|
This item has no description. | |
| Public | function canfocus: boolean; virtual; |
|
This item has no description. | |
| Public | function setfocus(aactivate: boolean = true): boolean; virtual; |
|
This item has no description. | |
| Public | procedure parentfocus; |
|
This item has no description. | |
| Public | procedure nextfocus; |
|
This item has no description. | |
| Public | function findtabfocus(const ataborder: integer): twidget; |
|
This item has no description. | |
| Public | function firsttabfocus: twidget; |
|
This item has no description. | |
| Public | function lasttabfocus: twidget; |
|
This item has no description. | |
| Public | function nexttaborder(const down: boolean = false; nowrap: boolean = false): twidget; |
|
This item has no description. | |
| Public | function focusback(const aactivate: boolean = true): boolean; virtual; |
|
This item has no description. | |
| Public | function parentcolor: colorty; |
|
This item has no description. | |
| Public | function actualcolor: colorty; virtual; |
|
This item has no description. | |
| Public | function actualopaquecolor: colorty; virtual; |
|
This item has no description. | |
| Public | function backgroundcolor: colorty; |
|
This item has no description. | |
| Public | function translatecolor(const acolor: colorty): colorty; |
|
This item has no description. | |
| Public | procedure widgetevent(const event: twidgetevent); virtual; |
|
This item has no description. | |
| Public | procedure sendwidgetevent(const event: twidgetevent); |
|
This item has no description. | |
| Public | procedure release(const nomodaldefer: boolean=false); override; |
|
This item has no description. | |
| Public | function show(const modallevel: modallevelty; const transientfor: twindow = nil): modalresultty; overload; virtual; |
|
This item has no description. | |
| Public | function show(const modallevel: modallevelty; const transientfor: twidget): modalresultty; overload; |
|
This item has no description. | |
| Public | function show(const modal: boolean = false; const transientfor: twindow = nil): modalresultty; overload; |
|
This item has no description. | |
| Public | procedure endmodal; |
|
This item has no description. | |
| Public | procedure hide; |
|
This item has no description. | |
| Public | procedure activate(const abringtofront: boolean = true; const aforce: boolean = false); virtual; |
|
This item has no description. | |
| Public | procedure bringtofront; |
|
This item has no description. | |
| Public | procedure sendtoback; |
|
This item has no description. | |
| Public | procedure stackunder(const predecessor: twidget); |
|
This item has no description. | |
| Public | procedure setchildorder(const achildren: widgetarty); overload; |
|
This item has no description. | |
| Public | procedure paint(const canvas: tcanvas); virtual; |
|
This item has no description. | |
| Public | procedure update; virtual; |
|
This item has no description. | |
| Public | procedure scrollwidgets(const dist: pointty); |
|
This item has no description. | |
| Public | procedure scrollrect(const dist: pointty; const rect: rectty; scrollcaret: boolean); |
|
This item has no description. | |
| Public | procedure scroll(const dist: pointty); |
|
This item has no description. | |
| Public | procedure clampinview(const arect: rectty; const bottomright: boolean = false); virtual; |
|
This item has no description. | |
| Public | procedure getcaret; |
|
This item has no description. | |
| Public | procedure scrollcaret(const dist: pointty); |
|
This item has no description. | |
| Public | function mousecaptured: boolean; |
|
This item has no description. | |
| Public | function capturemouse(grab: boolean = true): boolean; |
|
This item has no description. | |
| Public | procedure releasemouse(const grab: boolean = false); |
|
This item has no description. | |
| Public | function capturekeyboard: boolean; |
|
This item has no description. | |
| Public | procedure releasekeyboard; |
|
This item has no description. | |
| Public | procedure synctofontheight; virtual; |
|
This item has no description. | |
| Public | procedure dragevent(var info: draginfoty); virtual; |
|
This item has no description. | |
| Public | procedure dolayout(const sender: twidget); virtual; |
|
This item has no description. | |
| Public | procedure invalidatewidget; |
|
This item has no description. | |
| Public | procedure invalidate; |
|
This item has no description. | |
| Public | procedure invalidaterect(const rect: rectty; const org: originty = org_client; const noclip: boolean = false); |
|
This item has no description. | |
| Public | procedure invalidateframestate; |
|
This item has no description. | |
| Public | procedure invalidateframestaterect(const rect: rectty; const aframe: tcustomframe; const org: originty = org_client); |
|
This item has no description. | |
| Public | function hasoverlappingsiblings(arect: rectty): boolean; |
|
This item has no description. | |
| Public | function window: twindow; |
|
This item has no description. | |
| Public | function rootwidget: twidget; |
|
This item has no description. | |
| Public | function parentofcontainer: twidget; |
|
This item has no description. | |
| Public | function getrootwidgetpath: widgetarty; |
|
This item has no description. | |
| Public | function widgetcount: integer; |
|
This item has no description. | |
| Public | function parentwidgetindex: integer; |
|
This item has no description. | |
| Public | function indexofwidget(const awidget: twidget): integer; |
|
This item has no description. | |
| Public | function checkdescendent(awidget: twidget): boolean; |
|
This item has no description. | |
| Public | function checkancestor(awidget: twidget): boolean; |
|
This item has no description. | |
| Public | function containswidget(awidget: twidget): boolean; |
|
This item has no description. | |
| Public | function widgetatpos(var info: widgetatposinfoty): twidget; overload; |
|
This item has no description. | |
| Public | function widgetatpos(const pos: pointty): twidget; overload; |
|
This item has no description. | |
| Public | function widgetatpos(const pos: pointty; const state: widgetstatesty): twidget; overload; |
|
This item has no description. | |
| Public | function containeroffset: pointty; |
|
This item has no description. | |
| Public | function childrencount: integer; virtual; |
|
This item has no description. | |
| Public | function visiblechildrencount: integer; |
|
This item has no description. | |
| Public | function findtagchild(const atag: integer; const aclass: widgetclassty): twidget; |
|
This item has no description. | |
| Public | function findchild(const aname: ansistring): twidget; |
|
This item has no description. | |
| Public | function childatpos(const pos: pointty; const clientorigin: boolean = true): twidget; virtual; |
|
This item has no description. | |
| Public | function gettaborderedwidgets: widgetarty; |
|
This item has no description. | |
| Public | function getvisiblewidgets: widgetarty; |
|
This item has no description. | |
| Public | function getcornerwidget(const side: graphicdirectionty; const visibleonly: boolean): twidget; |
|
This item has no description. | |
| Public | function getsortxchildren(const banded: boolean = false): widgetarty; |
|
This item has no description. | |
| Public | function getsortychildren(const banded: boolean = false): widgetarty; |
|
This item has no description. | |
| Public | function getlogicalchildren: widgetarty; virtual; |
|
This item has no description. | |
| Public | procedure addlogicalchildren(var achildren: widgetarty); |
|
This item has no description. | |
| Public | function findlogicalchild(const aname: ansistring): twidget; |
|
This item has no description. | |
| Public | function enteredchild(): twidget; |
|
This item has no description. | |
| Public | function mouseeventwidget(const info: mouseeventinfoty): twidget; |
|
This item has no description. | |
| Public | procedure insertwidget(const awidget: twidget); overload; |
|
This item has no description. | |
| Public | procedure insertwidget(const awidget: twidget; const apos: pointty); overload; virtual; |
|
This item has no description. | |
| Public | function iswidgetclick(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
|
This item has no description. | |
| Public | function iswidgetdblclick(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
|
This item has no description. | |
| Public | function iswidgetdblclicked(const info: mouseeventinfoty; const caption: boolean = false): boolean; |
|
This item has no description. | |
| Public | function isclick(const info: mouseeventinfoty): boolean; |
|
This item has no description. | |
| Public | function isdblclick(const info: mouseeventinfoty): boolean; |
|
This item has no description. | |
| Public | function isdblclicked(const info: mouseeventinfoty): boolean; |
|
This item has no description. | |
| Public | function isleftbuttondown(const info: mouseeventinfoty): boolean; overload; |
|
This item has no description. | |
| Public | function isleftbuttondown(const info: mouseeventinfoty; const akeyshiftstate: shiftstatesty): boolean; overload; |
|
This item has no description. | |
| Public | function widgetmousepos(const ainfo: mouseeventinfoty): pointty; |
|
This item has no description. | |
| Public | function rootpos: pointty; |
|
This item has no description. | |
| Public | function rootwidgetrect: rectty; |
|
This item has no description. | |
| Public | function clientpostowidgetpos(const apos: pointty): pointty; |
|
This item has no description. | |
| Public | function widgetpostoclientpos(const apos: pointty): pointty; |
|
This item has no description. | |
| Public | function widgetpostopaintpos(const apos: pointty): pointty; |
|
This item has no description. | |
| Public | function paintpostowidgetpos(const apos: pointty): pointty; |
|
This item has no description. | |
| Public | procedure scale(const ascale: real); virtual; |
|
This item has no description. | |
| Public | function widgetscreenrect: rectty; |
|
This item has no description. | |
| Public | function widgetclientrect: rectty; |
|
This item has no description. | |
| Public | function widgetminsize: sizety; |
|
This item has no description. | |
| Public | function widgetmaxsize: sizety; |
|
This item has no description. | |
| Public | function maxclientsize: sizety; virtual; |
|
This item has no description. | |
| Public | function minscrollsize: sizety; |
|
This item has no description. | |
| Public | function minshrinksize: sizety; |
|
This item has no description. | |
| Public | procedure setclippedwidgetrect(arect: rectty); |
|
This item has no description. | |
| Public | function framedim: sizety; |
|
This item has no description. | |
| Public | function framedimnoscrollbar: sizety; |
|
This item has no description. | |
| Public | function clientframewidth: sizety; |
|
This item has no description. | |
| Public | function innerclientframewidth: sizety; |
|
This item has no description. | |
| Public | function innerframewidth: sizety; |
|
This item has no description. | |
| Public | function framerect: rectty; |
|
This item has no description. | |
| Public | function framepos: pointty; |
|
This item has no description. | |
| Public | function frameinnerrect: rectty; |
|
This item has no description. | |
| Public | function paintrect: rectty; |
|
This item has no description. | |
| Public | function paintclientrect: rectty; |
|
This item has no description. | |
| Public | function paintpos: pointty; |
|
This item has no description. | |
| Public | function clippedpaintrect: rectty; |
|
This item has no description. | |
| Public | function innerpaintrect: rectty; |
|
This item has no description. | |
| Public | procedure setanchordwidgetsize(const asize: sizety); |
|
This item has no description. | |
| Public | function widgetsizerect: rectty; |
|
This item has no description. | |
| Public | function paintsizerect: rectty; |
|
This item has no description. | |
| Public | function clientsizerect: rectty; |
|
This item has no description. | |
| Public | function containerclientsizerect: rectty; |
|
This item has no description. | |
| Public | procedure changeclientsize(const delta: sizety); |
|
This item has no description. | |
| Public | function clientwidgetrect: rectty; |
|
This item has no description. | |
| Public | function clientwidgetpos: pointty; |
|
This item has no description. | |
| Public | function clientparentpos: pointty; |
|
This item has no description. | |
| Public | function paintparentrect: rectty; |
|
This item has no description. | |
| Public | function paintparentpos: pointty; |
|
This item has no description. | |
| Public | function parentpaintpos: pointty; |
|
This item has no description. | |
| Public | function refpos(const aorigin: originty): pointty; |
|
This item has no description. | |
| Public | function paintrectparent: rectty; |
|
This item has no description. | |
| Public | function clientrectparent: rectty; |
|
This item has no description. | |
| Public | function innerparentrect: rectty; |
|
This item has no description. | |
| Public | function innerwidgetrect: rectty; |
|
This item has no description. | |
| Public | function innerclientrect: rectty; |
|
This item has no description. | |
| Public | function innerclientsize: sizety; |
|
This item has no description. | |
| Public | function innerclientpos: pointty; |
|
This item has no description. | |
| Public | function innerclientframe: framety; |
|
This item has no description. | |
| Public | function innerclientpaintpos: pointty; |
|
This item has no description. | |
| Public | function innerclientwidgetpos: pointty; |
|
This item has no description. | |
| Public | procedure innertopaintsize(var asize: sizety); |
|
This item has no description. | |
| Public | procedure outertopaintsize(var asize: sizety); |
|
This item has no description. | |
| Public | procedure painttowidgetsize(var asize: sizety); |
|
This item has no description. | |
| Public | procedure widgettopaintsize(var asize: sizety); |
|
This item has no description. | |
| Public | function getcanvas(aorigin: originty = org_client): tcanvas; |
|
This item has no description. | |
| Public | function showing: boolean; |
|
This item has no description. | |
| Public | function isenabled: boolean; |
|
This item has no description. | |
| Public | function active: boolean; |
|
This item has no description. | |
| Public | function entered: boolean; |
|
This item has no description. | |
| Public | function activeentered: boolean; |
|
This item has no description. | |
| Public | function activefocused(): boolean; |
|
This item has no description. | |
| Public | function focused: boolean; |
|
This item has no description. | |
| Public | function clicked: boolean; |
|
This item has no description. | |
| Public | procedure changedirection(const avalue: graphicdirectionty; var dest: graphicdirectionty); virtual; |
|
This item has no description. | |
| Public | procedure placexorder(const startx: integer; const dist: array of integer; const awidgets: array of twidget; const endmargin: integer = minint); |
|
This item has no description. | |
| Public | procedure placeyorder(const starty: integer; const dist: array of integer; const awidgets: array of twidget; const endmargin: integer = minint); |
|
This item has no description. | |
| Public | function alignx(const mode: widgetalignmodety; const awidgets: array of twidget; const glue: widgetalignmodety = wam_none; const margin: integer = 0): integer; |
|
This item has no description. | |
| Public | function aligny(const mode: widgetalignmodety; const awidgets: array of twidget; const glue: widgetalignmodety = wam_none; const margin: integer = 0): integer; |
|
This item has no description. | |
| Public | function actualcursor(const apos: pointty): cursorshapety; virtual; |
|
This item has no description. | |
Properties
| Public | property widgetstate1: widgetstates1ty read fwidgetstate1; |
|
This item has no description. | |
| Public | property parentwidget: twidget read fparentwidget write setparentwidget; |
|
This item has no description. | |
| Public | property widgets[const index: integer]: twidget read getwidgets; |
|
This item has no description. | |
| Public | property container: twidget read getcontainer; |
|
This item has no description. | |
| Public | property children[const index: integer]: twidget read getchildwidgets; |
|
This item has no description. | |
| Public | property focusedchild: twidget read ffocusedchild; |
|
This item has no description. | |
| Public | property focusedchildbefore: twidget read ffocusedchildbefore; |
|
This item has no description. | |
| Public | property screenpos: pointty read getscreenpos write setscreenpos; |
|
This item has no description. | |
| Public | property widgetrect: rectty read fwidgetrect write setwidgetrect; |
|
This item has no description. | |
| Public | property pos: pointty read fwidgetrect.pos write setpos; |
|
This item has no description. | |
| Public | property size: sizety read fwidgetrect.size write setsize; |
|
This item has no description. | |
| Public | property minsize: sizety read fminsize write setminsize; |
|
This item has no description. | |
| Public | property maxsize: sizety read fmaxsize write setmaxsize; |
|
This item has no description. | |
| Public | property bounds_x: integer read fwidgetrect.x write setbounds_x; |
|
This item has no description. | |
| Public | property bounds_y: integer read fwidgetrect.y write setbounds_y; |
|
This item has no description. | |
| Public | property bounds_cx: integer read fwidgetrect.cx write setbounds_cx
stored true; |
|
This item has no description. | |
| Public | property bounds_cy: integer read fwidgetrect.cy write setbounds_cy
stored true; |
|
This item has no description. | |
| Public | property bounds_cxmin: integer read fminsize.cx
write setbounds_cxmin default 0; |
|
This item has no description. | |
| Public | property bounds_cymin: integer read fminsize.cy
write setbounds_cymin default 0; |
|
This item has no description. | |
| Public | property bounds_cxmax: integer read fmaxsize.cx
write setbounds_cxmax default 0; |
|
This item has no description. | |
| Public | property bounds_cymax: integer read fmaxsize.cy
write setbounds_cymax default 0; |
|
This item has no description. | |
| Public | property left: integer read fwidgetrect.x write setbounds_x; |
|
This item has no description. | |
| Public | property right: integer read getright write setright; |
|
This item has no description. | |
| Public | property top: integer read fwidgetrect.y write setbounds_y; |
|
This item has no description. | |
| Public | property bottom: integer read getbottom write setbottom; |
|
This item has no description. | |
| Public | property width: integer read fwidgetrect.cx write setbounds_cx; |
|
This item has no description. | |
| Public | property height: integer read fwidgetrect.cy write setbounds_cy; |
|
This item has no description. | |
| Public | property anchors: anchorsty read fanchors write setanchors
default defaultanchors; |
|
This item has no description. | |
| Public | property defaultfocuschild: twidget read getdefaultfocuschild
write setdefaultfocuschild; |
|
This item has no description. | |
| Public | property framesize: sizety read getframesize write setframesize; |
|
This item has no description. | |
| Public | property framewidth: integer read geframewidth write setframewidth; |
|
This item has no description. | |
| Public | property frameheight: integer read getframeheight write setframeheight; |
|
This item has no description. | |
| Public | property paintsize: sizety read getpaintsize write setpaintsize; |
|
This item has no description. | |
| Public | property paintwidth: integer read getpaintwidth write setpaintwidth; |
|
This item has no description. | |
| Public | property paintheight: integer read getpaintheight write setpaintheight; |
|
This item has no description. | |
| Public | property clientrect: rectty read getclientrect; |
|
This item has no description. | |
| Public | property clientsize: sizety read getclientsize write setclientsize; |
|
This item has no description. | |
| Public | property clientwidth: integer read getclientwidth write setclientwidth; |
|
This item has no description. | |
| Public | property clientheight: integer read getclientheight write setclientheight; |
|
This item has no description. | |
| Public | property clientpos: pointty read getclientpos; |
|
This item has no description. | |
| Public | property parentclientpos: pointty read getparentclientpos
write setparentclientpos; |
|
This item has no description. | |
| Public | property frame: tcustomframe read getframe write setframe; |
|
This item has no description. | |
| Public | property face: tcustomface read getface write setface; |
|
This item has no description. | |
| Public | property optionswidget: optionswidgetty read foptionswidget
write setoptionswidget default defaultoptionswidget; |
|
This item has no description. | |
| Public | property optionswidget1: optionswidget1ty read foptionswidget1
write setoptionswidget1 default defaultoptionswidget1; |
|
This item has no description. | |
| Public | property optionsskin: optionsskinty read foptionsskin
write setoptionsskin default []; |
|
This item has no description. | |
| Public | property cursor: cursorshapety read fcursor write setcursor
default cr_default; |
|
This item has no description. | |
| Public | property color: colorty read fcolor write setcolor
default defaultwidgetcolor; |
|
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 taborder: integer read ftaborder write settaborder default 0; |
|
This item has no description. | |
| Public | property hint: msestring read gethint write sethint stored ishintstored; |
|
This item has no description. | |
| Public | property zorder: integer read getzorder write setzorder; |
|
This item has no description. | |
| Published | property onnavigrequest: navigrequesteventty read fonnavigrequest
write fonnavigrequest; |
|
This item has no description. | |
| Published | property skingroup: integer read fskingroup write fskingroup default 0; |
|
This item has no description. | |
| Published | property onbeforeupdateskin; |
|
This item has no description. | |
| Published | property onafterupdateskin; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.