Class tguiapplication
Unit
Declaration
type tguiapplication = class(tcustomapplication)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tcustomapplication
- tguiapplication
Overview
Fields
| Protected | flastshowmenuwidget: twidget; |
| Protected | foptionsgui: guiappoptionsty; |
| Protected | fgdilockcount: int32; |
Methods
| Protected | procedure sysevent(const awindow: winidty; var aevent: syseventty; var handled: boolean); |
| Protected | procedure sethighrestimer(const avalue: boolean); override; |
| Protected | procedure dopostevent(const aevent: tmseevent); override; |
| Protected | procedure eventloop(const once: boolean = false); |
| Protected | procedure exitloop; |
| Protected | procedure receiveevent(const event: tobjectevent); override; |
| Protected | procedure doafterrun; override; |
| Protected | procedure internalinitialize; override; |
| Protected | procedure internaldeinitialize; override; |
| Protected | procedure objecteventdestroyed(const sender: tobjectevent); override; |
| Protected | procedure dragstarted; |
| Protected | procedure internalpackwindowzorder(); virtual; |
| Protected | procedure zorderinvalid(); |
| Public | constructor create(aowner: tcomponent); override; |
| Public | procedure destroyforms; |
| Public | procedure langchanged; override; |
| Public | procedure settimer(const us: integer); override; |
| Public | function findwindow(aid: winidty; out window: twindow): boolean; |
| Public | procedure checkwindowrect(winid: winidty; var rect: rectty); |
| Public | function createform(instanceclass: widgetclassty; var reference): twidget; |
| Public | procedure invalidate; |
| Public | procedure processmessages; override; |
| Public | function idle: boolean; override; |
| Public | function modallevel: integer; override; |
| Public | function unlockall: integer override; |
| Public | procedure relockall(count: integer) override; |
| Public | procedure beginnoignorewaitevents; |
| Public | procedure endnoignorewaitevents; |
| Public | procedure beginwait(const aprocessmessages: boolean = false); override; |
| Public | procedure endwait; override; |
| Public | function waiting: boolean; |
| Public | function waitescaped: boolean; override; |
| Public | procedure resetwaitdialog; |
| Public | function waitdialog(const athread: tthreadcomp = nil; const atext: msestring = ''; const caption: msestring = ''; const acancelaction: notifyeventty = nil; const aexecuteaction: notifyeventty = nil; const aidleaction: waitidleeventty = nil; const acontinueaction: notifyeventty = nil): boolean; |
| Public | procedure terminatewait; |
| Public | procedure cancelwait; |
| Public | function waitstarted: boolean; |
| Public | function waitcanceled: boolean; |
| Public | function waitterminated: boolean; |
| Public | procedure showexception(e: exception; const leadingtext: msestring = ''); override; |
| Public | procedure showasyncexception(e: exception; const leadingtext: msestring = ''); |
| Public | procedure errormessage(const amessage: msestring); override; |
| Public | procedure inithintinfo(var info: hintinfoty; const ahintedwidget: twidget); |
| Public | procedure initwidgethintinfo(var info: hintinfoty; const ahintedwidget: twidget); |
| Public | procedure showhint(const sender: twidget; const hint: msestring; const aposrect: rectty; const aplacement: captionposty = cp_bottomleft; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
| Public | procedure showhint(const sender: twidget; const hint: msestring; const apos: pointty; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
| Public | procedure showhint(const sender: twidget; const info: hintinfoty); |
| Public | procedure showhint(const sender: twidget; const hint: msestring); |
| Public | procedure showhint(const sender: twidget; const hintwidget: twidget; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
| Public | procedure hidehint; |
| Public | procedure restarthint(const sender: twidget); |
| Public | function hintedwidget: twidget; |
| Public | function activehintedwidget: twidget; |
| Public | procedure help(const sender: tmsecomponent); |
| Public | procedure registerhelphandler(const ahandler: helpeventty); |
| Public | procedure unregisterhelphandler(const ahandler: helpeventty); |
| Public | function activehelpcontext: msestring; |
| Public | function mousehelpcontext: msestring; |
| Public | function active: boolean; |
| Public | procedure activate(); |
| Public | function screenrect(const awindow: twindow = nil): rectty; |
| Public | function workarea(const awindow: twindow = nil): rectty; |
| Public | function ppmm(const awindow: twindow = nil): complexty; |
| Public | function normalactivewindow: twindow; |
| Public | function regularactivewindow: twindow; |
| Public | function unreleasedactivewindow: twindow; |
| Public | function activewidget: twidget; |
| Public | function activerootwidget: twidget; |
| Public | function windowatpos(const pos: pointty): twindow; |
| Public | function findwidget(const namepath: string; out awidget: twidget): boolean; |
| Public | procedure sortzorder(); |
| Public | procedure packwindowzorder(); |
| Public | function windowar: windowarty; |
| Public | function winidar: winidarty; |
| Public | function windowcount: integer; |
| Public | function bottomwindow: twindow; |
| Public | function topwindow: twindow; |
| Public | function candefocus(const caller: tobject = nil): boolean; override; |
| Public | procedure registeronkeypress(const method: keyeventty); |
| Public | procedure unregisteronkeypress(const method: keyeventty); |
| Public | procedure registeronshortcut(const method: keyeventty); |
| Public | procedure unregisteronshortcut(const method: keyeventty); |
| Public | procedure registeronwidgetactivechanged(const method: widgetchangeeventty); |
| Public | procedure unregisteronwidgetactivechanged(const method: widgetchangeeventty); |
| Public | procedure registeronwindowactivechanged(const method: windowchangeeventty); |
| Public | procedure unregisteronwindowactivechanged(const method: windowchangeeventty); |
| Public | procedure registeronwindowdestroyed(const method: windoweventty); |
| Public | procedure unregisteronwindowdestroyed(const method: windoweventty); |
| Public | procedure registeronwiniddestroyed(const method: winideventty); |
| Public | procedure unregisteronwiniddestroyed(const method: winideventty); |
| Public | procedure registeronapplicationactivechanged(const method: booleaneventty); |
| Public | procedure unregisteronapplicationactivechanged(const method: booleaneventty); |
| Public | procedure registersyseventhandler(const method: syseventhandlereventty); |
| Public | procedure unregistersyseventhandler(const method: syseventhandlereventty); |
| Public | function terminate(const sender: twindow = nil): boolean; |
| Public | function terminating: boolean; |
| Public | function deinitializing: boolean; |
| Public | function shortcutting: boolean; |
| Public | procedure mouseparkevent; |
| Public | procedure delayedmouseshift(const ashift: pointty); |
| Public | procedure calcmousewheeldelta(var info: mousewheeleventinfoty; const fmin,fmax,deltamin,deltamax: real); |
| Public | function mousewheelacceleration(const avalue: real): real; overload; |
| Public | function mousewheelacceleration(const avalue: integer): integer; overload; |
| Public | procedure clearkeyhistory; |
| Public | procedure updatecursorshape; |
Properties
| Public | property optionsgui: guiappoptionsty read foptionsgui
write foptionsgui default []; |
| Public | property forcezorder: boolean read getforcezorder write setforcezorder; |
| Public | property hintwidgetclass: widgetclassty read fhintwidgetclass
write fhintwidgetclass; |
| Public | property activewindow: twindow read factivewindow; |
| Public | property lastactivewindow: twindow read flastactivewindow; |
| Public | property inactivewindow: twindow read finactivewindow; |
| Public | property lastshowmenuwidget: twidget read flastshowmenuwidget; |
| Public | property windows[const index: integer]: twindow read getwindows; |
| Public | property caret: tcaret read fcaret; |
| Public | property mouse: tmouse read fmouse; |
| Public | property keyhistory: keyinfoarty read fkeyhistory; |
| Public | property lastinputtimestamp: longword read flastinputtimestamp; |
| Public | property lastshiftstate: shiftstatesty read flastshiftstate; |
| Public | property lastkey: keyty read flastkey; |
| Public | property lastbutton: mousebuttonty read flastbutton; |
| Public | property mouseeventinfo: pmouseeventinfoty read fmouseeventinfo; |
| Public | property mousewheeleventinfo: pmousewheeleventinfoty
read fmousewheeleventinfo; |
| Public | property keyeventinfo: pkeyeventinfoty read fkeyeventinfo; |
| Public | property cursorshape: cursorshapety read fcursorshape write setcursorshape; |
| Public | property widgetcursorshape: cursorshapety read fwidgetcursorshape write
setwidgetcursorshape; |
| Public | property mousewidget: twidget read fmousewidget; |
| Public | property clientmousewidget: twidget read fclientmousewidget; |
| Public | property mousecapturewidget: twidget read fmousecapturewidget; |
| Public | property keyboardcapturewidget: twidget read fkeyboardcapturewidget; |
| Public | property mainwindow: twindow read fmainwindow write setmainwindow; |
| Public | property thread: threadty read fthread; |
| Public | property buttonpresswidgetbefore: twidget read fbuttonpresswidgetbefore; |
| Public | property buttonreleasewidgetbefore: twidget read fbuttonreleasewidgetbefore; |
| Public | property dblclicktime: integer read fdblclicktime write fdblclicktime default
defaultdblclicktime; |
| Public | property mousewheelsensitivity: real read fmousewheelsensitivity
write fmousewheelsensitivity; |
| Public | property mousewheelfrequmin: real read fmousewheelfrequmin
write fmousewheelfrequmin; |
| Public | property mousewheelfrequmax: real read fmousewheelfrequmax
write fmousewheelfrequmax; |
| Public | property mousewheeldeltamin: real read fmousewheeldeltamin
write fmousewheeldeltamin; |
| Public | property mousewheeldeltamax: real read fmousewheeldeltamax
write fmousewheeldeltamax; |
| Public | property mousewheelaccelerationmax: real read fmousewheelaccelerationmax
write fmousewheelaccelerationmax; |
Description
Fields
| Protected | flastshowmenuwidget: twidget; |
|
This item has no description. | |
| Protected | foptionsgui: guiappoptionsty; |
|
This item has no description. | |
| Protected | fgdilockcount: int32; |
|
This item has no description. | |
Methods
| Protected | procedure sysevent(const awindow: winidty; var aevent: syseventty; var handled: boolean); |
|
This item has no description. | |
| Protected | procedure sethighrestimer(const avalue: boolean); override; |
|
This item has no description. | |
| Protected | procedure dopostevent(const aevent: tmseevent); override; |
|
This item has no description. | |
| Protected | procedure eventloop(const once: boolean = false); |
|
This item has no description. | |
| Protected | procedure exitloop; |
|
This item has no description. | |
| Protected | procedure receiveevent(const event: tobjectevent); override; |
|
This item has no description. | |
| Protected | procedure doafterrun; override; |
|
This item has no description. | |
| Protected | procedure internalinitialize; override; |
|
This item has no description. | |
| Protected | procedure internaldeinitialize; override; |
|
This item has no description. | |
| Protected | procedure objecteventdestroyed(const sender: tobjectevent); override; |
|
This item has no description. | |
| Protected | procedure dragstarted; |
|
This item has no description. | |
| Protected | procedure internalpackwindowzorder(); virtual; |
|
This item has no description. | |
| Protected | procedure zorderinvalid(); |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | procedure destroyforms; |
|
This item has no description. | |
| Public | procedure langchanged; override; |
|
This item has no description. | |
| Public | procedure settimer(const us: integer); override; |
|
This item has no description. | |
| Public | function findwindow(aid: winidty; out window: twindow): boolean; |
|
This item has no description. | |
| Public | procedure checkwindowrect(winid: winidty; var rect: rectty); |
|
This item has no description. | |
| Public | function createform(instanceclass: widgetclassty; var reference): twidget; |
|
This item has no description. | |
| Public | procedure invalidate; |
|
This item has no description. | |
| Public | procedure processmessages; override; |
|
This item has no description. | |
| Public | function idle: boolean; override; |
|
This item has no description. | |
| Public | function modallevel: integer; override; |
|
This item has no description. | |
| Public | function unlockall: integer override; |
|
This item has no description. | |
| Public | procedure relockall(count: integer) override; |
|
This item has no description. | |
| Public | procedure beginnoignorewaitevents; |
|
This item has no description. | |
| Public | procedure endnoignorewaitevents; |
|
This item has no description. | |
| Public | procedure beginwait(const aprocessmessages: boolean = false); override; |
|
This item has no description. | |
| Public | procedure endwait; override; |
|
This item has no description. | |
| Public | function waiting: boolean; |
|
This item has no description. | |
| Public | function waitescaped: boolean; override; |
|
This item has no description. | |
| Public | procedure resetwaitdialog; |
|
This item has no description. | |
| Public | function waitdialog(const athread: tthreadcomp = nil; const atext: msestring = ''; const caption: msestring = ''; const acancelaction: notifyeventty = nil; const aexecuteaction: notifyeventty = nil; const aidleaction: waitidleeventty = nil; const acontinueaction: notifyeventty = nil): boolean; |
|
This item has no description. | |
| Public | procedure terminatewait; |
|
This item has no description. | |
| Public | procedure cancelwait; |
|
This item has no description. | |
| Public | function waitstarted: boolean; |
|
This item has no description. | |
| Public | function waitcanceled: boolean; |
|
This item has no description. | |
| Public | function waitterminated: boolean; |
|
This item has no description. | |
| Public | procedure showexception(e: exception; const leadingtext: msestring = ''); override; |
|
This item has no description. | |
| Public | procedure showasyncexception(e: exception; const leadingtext: msestring = ''); |
|
This item has no description. | |
| Public | procedure errormessage(const amessage: msestring); override; |
|
This item has no description. | |
| Public | procedure inithintinfo(var info: hintinfoty; const ahintedwidget: twidget); |
|
This item has no description. | |
| Public | procedure initwidgethintinfo(var info: hintinfoty; const ahintedwidget: twidget); |
|
This item has no description. | |
| Public | procedure showhint(const sender: twidget; const hint: msestring; const aposrect: rectty; const aplacement: captionposty = cp_bottomleft; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
|
This item has no description. | |
| Public | procedure showhint(const sender: twidget; const hint: msestring; const apos: pointty; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
|
This item has no description. | |
| Public | procedure showhint(const sender: twidget; const info: hintinfoty); |
|
This item has no description. | |
| Public | procedure showhint(const sender: twidget; const hint: msestring); |
|
This item has no description. | |
| Public | procedure showhint(const sender: twidget; const hintwidget: twidget; const ashowtime: integer = defaulthintshowtime; const aflags: hintflagsty = defaulthintflags); |
|
This item has no description. | |
| Public | procedure hidehint; |
|
This item has no description. | |
| Public | procedure restarthint(const sender: twidget); |
|
This item has no description. | |
| Public | function hintedwidget: twidget; |
|
This item has no description. | |
| Public | function activehintedwidget: twidget; |
|
This item has no description. | |
| Public | procedure help(const sender: tmsecomponent); |
|
This item has no description. | |
| Public | procedure registerhelphandler(const ahandler: helpeventty); |
|
This item has no description. | |
| Public | procedure unregisterhelphandler(const ahandler: helpeventty); |
|
This item has no description. | |
| Public | function activehelpcontext: msestring; |
|
This item has no description. | |
| Public | function mousehelpcontext: msestring; |
|
This item has no description. | |
| Public | function active: boolean; |
|
This item has no description. | |
| Public | procedure activate(); |
|
This item has no description. | |
| Public | function screenrect(const awindow: twindow = nil): rectty; |
|
This item has no description. | |
| Public | function workarea(const awindow: twindow = nil): rectty; |
|
This item has no description. | |
| Public | function ppmm(const awindow: twindow = nil): complexty; |
|
This item has no description. | |
| Public | function normalactivewindow: twindow; |
|
This item has no description. | |
| Public | function regularactivewindow: twindow; |
|
This item has no description. | |
| Public | function unreleasedactivewindow: twindow; |
|
This item has no description. | |
| Public | function activewidget: twidget; |
|
This item has no description. | |
| Public | function activerootwidget: twidget; |
|
This item has no description. | |
| Public | function windowatpos(const pos: pointty): twindow; |
|
This item has no description. | |
| Public | function findwidget(const namepath: string; out awidget: twidget): boolean; |
|
This item has no description. | |
| Public | procedure sortzorder(); |
|
This item has no description. | |
| Public | procedure packwindowzorder(); |
|
This item has no description. | |
| Public | function windowar: windowarty; |
|
This item has no description. | |
| Public | function winidar: winidarty; |
|
This item has no description. | |
| Public | function windowcount: integer; |
|
This item has no description. | |
| Public | function bottomwindow: twindow; |
|
This item has no description. | |
| Public | function topwindow: twindow; |
|
This item has no description. | |
| Public | function candefocus(const caller: tobject = nil): boolean; override; |
|
This item has no description. | |
| Public | procedure registeronkeypress(const method: keyeventty); |
|
This item has no description. | |
| Public | procedure unregisteronkeypress(const method: keyeventty); |
|
This item has no description. | |
| Public | procedure registeronshortcut(const method: keyeventty); |
|
This item has no description. | |
| Public | procedure unregisteronshortcut(const method: keyeventty); |
|
This item has no description. | |
| Public | procedure registeronwidgetactivechanged(const method: widgetchangeeventty); |
|
This item has no description. | |
| Public | procedure unregisteronwidgetactivechanged(const method: widgetchangeeventty); |
|
This item has no description. | |
| Public | procedure registeronwindowactivechanged(const method: windowchangeeventty); |
|
This item has no description. | |
| Public | procedure unregisteronwindowactivechanged(const method: windowchangeeventty); |
|
This item has no description. | |
| Public | procedure registeronwindowdestroyed(const method: windoweventty); |
|
This item has no description. | |
| Public | procedure unregisteronwindowdestroyed(const method: windoweventty); |
|
This item has no description. | |
| Public | procedure registeronwiniddestroyed(const method: winideventty); |
|
This item has no description. | |
| Public | procedure unregisteronwiniddestroyed(const method: winideventty); |
|
This item has no description. | |
| Public | procedure registeronapplicationactivechanged(const method: booleaneventty); |
|
This item has no description. | |
| Public | procedure unregisteronapplicationactivechanged(const method: booleaneventty); |
|
This item has no description. | |
| Public | procedure registersyseventhandler(const method: syseventhandlereventty); |
|
This item has no description. | |
| Public | procedure unregistersyseventhandler(const method: syseventhandlereventty); |
|
This item has no description. | |
| Public | function terminate(const sender: twindow = nil): boolean; |
|
This item has no description. | |
| Public | function terminating: boolean; |
|
This item has no description. | |
| Public | function deinitializing: boolean; |
|
This item has no description. | |
| Public | function shortcutting: boolean; |
|
This item has no description. | |
| Public | procedure mouseparkevent; |
|
This item has no description. | |
| Public | procedure delayedmouseshift(const ashift: pointty); |
|
This item has no description. | |
| Public | procedure calcmousewheeldelta(var info: mousewheeleventinfoty; const fmin,fmax,deltamin,deltamax: real); |
|
This item has no description. | |
| Public | function mousewheelacceleration(const avalue: real): real; overload; |
|
This item has no description. | |
| Public | function mousewheelacceleration(const avalue: integer): integer; overload; |
|
This item has no description. | |
| Public | procedure clearkeyhistory; |
|
This item has no description. | |
| Public | procedure updatecursorshape; |
|
This item has no description. | |
Properties
| Public | property optionsgui: guiappoptionsty read foptionsgui
write foptionsgui default []; |
|
This item has no description. | |
| Public | property forcezorder: boolean read getforcezorder write setforcezorder; |
|
This item has no description. | |
| Public | property hintwidgetclass: widgetclassty read fhintwidgetclass
write fhintwidgetclass; |
|
This item has no description. | |
| Public | property activewindow: twindow read factivewindow; |
|
This item has no description. | |
| Public | property lastactivewindow: twindow read flastactivewindow; |
|
This item has no description. | |
| Public | property inactivewindow: twindow read finactivewindow; |
|
This item has no description. | |
| Public | property lastshowmenuwidget: twidget read flastshowmenuwidget; |
|
This item has no description. | |
| Public | property windows[const index: integer]: twindow read getwindows; |
|
This item has no description. | |
| Public | property caret: tcaret read fcaret; |
|
This item has no description. | |
| Public | property mouse: tmouse read fmouse; |
|
This item has no description. | |
| Public | property keyhistory: keyinfoarty read fkeyhistory; |
|
This item has no description. | |
| Public | property lastinputtimestamp: longword read flastinputtimestamp; |
|
This item has no description. | |
| Public | property lastshiftstate: shiftstatesty read flastshiftstate; |
|
This item has no description. | |
| Public | property lastkey: keyty read flastkey; |
|
This item has no description. | |
| Public | property lastbutton: mousebuttonty read flastbutton; |
|
This item has no description. | |
| Public | property mouseeventinfo: pmouseeventinfoty read fmouseeventinfo; |
|
This item has no description. | |
| Public | property mousewheeleventinfo: pmousewheeleventinfoty
read fmousewheeleventinfo; |
|
This item has no description. | |
| Public | property keyeventinfo: pkeyeventinfoty read fkeyeventinfo; |
|
This item has no description. | |
| Public | property cursorshape: cursorshapety read fcursorshape write setcursorshape; |
|
This item has no description. | |
| Public | property widgetcursorshape: cursorshapety read fwidgetcursorshape write
setwidgetcursorshape; |
|
This item has no description. | |
| Public | property mousewidget: twidget read fmousewidget; |
|
This item has no description. | |
| Public | property clientmousewidget: twidget read fclientmousewidget; |
|
This item has no description. | |
| Public | property mousecapturewidget: twidget read fmousecapturewidget; |
|
This item has no description. | |
| Public | property keyboardcapturewidget: twidget read fkeyboardcapturewidget; |
|
This item has no description. | |
| Public | property mainwindow: twindow read fmainwindow write setmainwindow; |
|
This item has no description. | |
| Public | property thread: threadty read fthread; |
|
This item has no description. | |
| Public | property buttonpresswidgetbefore: twidget read fbuttonpresswidgetbefore; |
|
This item has no description. | |
| Public | property buttonreleasewidgetbefore: twidget read fbuttonreleasewidgetbefore; |
|
This item has no description. | |
| Public | property dblclicktime: integer read fdblclicktime write fdblclicktime default
defaultdblclicktime; |
|
This item has no description. | |
| Public | property mousewheelsensitivity: real read fmousewheelsensitivity
write fmousewheelsensitivity; |
|
This item has no description. | |
| Public | property mousewheelfrequmin: real read fmousewheelfrequmin
write fmousewheelfrequmin; |
|
This item has no description. | |
| Public | property mousewheelfrequmax: real read fmousewheelfrequmax
write fmousewheelfrequmax; |
|
This item has no description. | |
| Public | property mousewheeldeltamin: real read fmousewheeldeltamin
write fmousewheeldeltamin; |
|
This item has no description. | |
| Public | property mousewheeldeltamax: real read fmousewheeldeltamax
write fmousewheeldeltamax; |
|
This item has no description. | |
| Public | property mousewheelaccelerationmax: real read fmousewheelaccelerationmax
write fmousewheelaccelerationmax; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.