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