Unit msegui

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record gdiregionty  
Record hintinfoty  
Interface iframe  
Interface icaptionframe  
Interface iscrollframe  
Record frameoffsetsty  
Record frameimageoffsetsty  
Record framefaceoffsetsty  
Record baseframeinfoty  
Record captionframeinfoty  
Record frameinfoty  
Record widgetatposinfoty  
Class tcustomframe  
Class tframe  
Class tframetemplate  
Class tframecomp  
Interface iface1  
Interface iface  
Class tfadecolorarrayprop  
Class tfadeopacolorarrayprop  
Class tfacebitmap  
Record faceinfoty  
Class tcustomface  
Class tface  
Class tfacearrayprop  
Class tfacelist  
Class tfacetemplate  
Class tfacecomp  
Record windowinfoty  
Record naviginfoty  
Class twidgetfont  
Class twidgetfontempty  
Class twidgetevent  
Class twidget  
Record modalinfoty  
Record showinfoty  
Class twindowevent  
Class treparentevent  
Class twindow  
Class twindowrectevent  
Class tmouseevent  
Class tmouseenterevent  
Class tkeyevent  
Class tresizeevent  
Record keyinfoty  
Class tguiapplication  
Record widgetaccessty  

Functions and Procedures

function translatewidgetpoint(const point: pointty; const source,dest: twidget): pointty;
procedure translatewidgetpoint1(var point: pointty; const source,dest: twidget);
function translatewidgetrect(const rect: rectty; const source,dest: twidget): rectty;
function translatepaintpoint(const point: pointty; const source,dest: twidget): pointty;
procedure translatepaintpoint1(var point: pointty; const source,dest: twidget);
function translatepaintrect(const rect: rectty; const source,dest: twidget): rectty;
function translatewidgettopaintpoint(const point: pointty; const source,dest: twidget): pointty;
procedure translatewidgettopaintpoint1(var point: pointty; const source,dest: twidget);
function translatewidgettopaintrect(const rect: rectty; const source,dest: twidget): rectty;
function translateclientpoint(const point: pointty; const source,dest: twidget): pointty;
procedure translateclientpoint1(var point: pointty; const source,dest: twidget);
function translateclientrect(const rect: rectty; const source,dest: twidget): rectty;
procedure sortwidgetsxorder(var awidgets: widgetarty; const parent: twidget = nil);
procedure sortwidgetsyorder(var awidgets: widgetarty; const parent: twidget = nil);
procedure syncmaxautosize(const widgets: array of twidget);
procedure syncpaintwidth(const awidgets: array of twidget; const awidgetwidth: integer = -1);
procedure syncpaintheight(const awidgets: array of twidget; const awidgetheight: integer = -1);
function checkshortcut(var info: keyeventinfoty; const caption: msestring; const checkalt: boolean): boolean; overload;
function checkshortcut(var info: keyeventinfoty; const key: keyty; const shiftstate: shiftstatesty): boolean; overload;
function wbounds_x(const awidget: twidget): integer;
procedure wsetbounds_x(const awidget: twidget; const avalue: integer);
function wbounds_y(const awidget: twidget): integer;
procedure wsetbounds_y(const awidget: twidget; const avalue: integer);
function wbounds_cx(const awidget: twidget): integer;
procedure wsetbounds_cx(const awidget: twidget; const avalue: integer);
procedure wsetanchord_cx(const awidget: twidget; const avalue: integer);
function wbounds_cy(const awidget: twidget): integer;
procedure wsetbounds_cy(const awidget: twidget; const avalue: integer);
procedure wsetanchord_cy(const awidget: twidget; const avalue: integer);
function wstopx(const awidget: twidget): integer;
procedure wsetstopx(const awidget: twidget; const avalue: integer);
function wstopy(const awidget: twidget): integer;
procedure wsetstopy(const awidget: twidget; const avalue: integer);
function wanchstopx(const awidget: twidget): boolean;
function wanchstopy(const awidget: twidget): boolean;
function wanchbothx(const awidget: twidget): boolean;
function wanchbothy(const awidget: twidget): boolean;
function wbounds_cxmin(const awidget: twidget): integer;
procedure wsetbounds_cxmin(const awidget: twidget; const avalue: integer);
function wbounds_cymin(const awidget: twidget): integer;
procedure wsetbounds_cymin(const awidget: twidget; const avalue: integer);
function wbounds_cxmax(const awidget: twidget): integer;
procedure wsetbounds_cxmax(const awidget: twidget; const avalue: integer);
function wbounds_cymax(const awidget: twidget): integer;
procedure wsetbounds_cymax(const awidget: twidget; const avalue: integer);
function application: tguiapplication;
function mousebuttontoshiftstate(button: mousebuttonty): shiftstatesty;
function isenterkey(const awidget: twidget; const key: keyty): boolean;
function isdblclick(const ainfo: mouseeventinfoty; const abutton: mousebuttonty = mb_left): boolean;
function eatdblclick(var ainfo: mouseeventinfoty; const abutton: mousebuttonty = mb_left): boolean;
function simulatemodalresult(const awidget: twidget; const amodres: modalresultty): boolean;
procedure beep;
procedure guibeep;
procedure enablewidgets(awidgets: array of twidget);
procedure disablewidgets(awidgets: array of twidget);
procedure showwidgets(awidgets: array of twidget);
procedure hidewidgets(awidgets: array of twidget);
function showmodalwidget(const aclass: widgetclassty): modalresultty;
function getiassistiveclient(const awidget: twidget): iassistiveclient;
procedure writewidgetnames(const writer: twriter; const ar: widgetarty);
function needswidgetnamewriting(const ar: widgetarty): boolean; overload;
function needswidgetnamewriting(const ar1,ar2: widgetarty): boolean; overload;
procedure designeventloop;
function getprocesswindow(const procid: integer): winidty;
function activateprocesswindow(const procid: integer; const araise: boolean = true): boolean;
function combineframestateflags(const disabled,focused,active, mouse,clicked: boolean): framestateflagsty;
function combineframestateflags( const astate: shapestatesty): framestateflagsty;

Types

frameskinoptionty = (...);
frameskinoptionsty = set of frameskinoptionty;
frameskincontrolleroptionty = (...);
frameskincontrolleroptionsty = set of frameskincontrolleroptionty;
optionwidgetty = (...);
optionswidgetty = set of optionwidgetty;
optionwidget1ty = (...);
optionswidget1ty = set of optionwidget1ty;
optionskinty = (...);
optionsskinty = set of optionskinty;
anchorty = (...);
anchorsty = set of anchorty;
widgetstatety = (...);
widgetstatesty = set of widgetstatety;
widgetstate1ty = (...);
widgetstates1ty = set of widgetstate1ty;
framestatety = (...);
framestatesty = set of framestatety;
hintflagty = (...);
hintflagsty = set of hintflagty;
framelocalpropty = (...);
framelocalpropsty = set of framelocalpropty;
framelocalprop1ty = (...);
framelocalprops1ty = set of framelocalprop1ty;
framestateflagty = (...);
framestateflagsty = set of framestateflagty;
facelocalpropty = (...);
facelocalpropsty = set of facelocalpropty;
widgetclassty = class of twidget;
showhinteventty = procedure(const sender: tobject; var info: hintinfoty) of object;
beforeframepaintbackgroundeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean; var handled: boolean) of object;
afterframepaintbackgroundeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean) of object;
beforeframepaintoverlayeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; var handled: boolean) of object;
afterframepaintoverlayeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty) of object;
beforeframetemplatepaintbackgroundeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty; var handled: boolean) of object;
afterframetemplatepaintbackgroundeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty) of object;
beforeframetemplatepaintoverlayeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty; var handled: boolean) of object;
afterframetemplatepaintoverlayeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty) of object;
faceoptionty = (...);
faceoptionsty = set of faceoptionty;
beforefacepainteventty = procedure (const sender: tcustomface; const canvas: tcanvas; const arect: rectty; var handled: boolean) of object;
afterfacepainteventty = procedure (const sender: tcustomface; const canvas: tcanvas; const arect: rectty) of object;
mouseeventty = procedure (const sender: twidget; var ainfo: mouseeventinfoty) of object;
mousewheeleventty = procedure (const sender: twidget; var ainfo: mousewheeleventinfoty) of object;
keyeventty = procedure (const sender: twidget; var ainfo: keyeventinfoty) of object;
shortcuteventty = procedure (const sender: twidget; var ainfo: keyeventinfoty; const origin: twidget) of object;
painteventty = procedure (const sender: twidget; const acanvas: tcanvas) of object;
pointeventty = procedure(const sender: twidget; const apoint: pointty) of object;
widgeteventty = procedure(const sender: tobject; const awidget: twidget) of object;
widgetarty = array of twidget;
pwindow = ˆtwindow;
widgetfontclassty = class of twidgetfont;
widgetfontemptyclassty = class of twidgetfontempty;
modallevelty = (...);
rootchangeflagty = (...);
rootchangeflagsty = set of rootchangeflagty;
widgetalignmodety = (...);
navigrequesteventty = procedure(const sender: twidget; var ainfo: naviginfoty) of object;
pwidget = ˆtwidget;
windowstatety = (...);
windowstatesty = set of windowstatety;
pmodalinfoty = ˆmodalinfoty;
pshowinfoty = ˆshowinfoty;
pwindowevent = ˆtwindowevent;
windowarty = array of twindow;
pwindowarty = ˆwindowarty;
windowaty = array[0..0] of twindow;
pwindowaty = ˆwindowaty;
windowchangeeventty = procedure(const oldwindow,newwindow: twindow) of object;
widgetchangeeventty = procedure(const oldwidget,newwidget: twidget) of object;
windoweventty = procedure(const awindow: twindow) of object;
winideventty = procedure(const awinid: winidty) of object;
booleaneventty = procedure(const avalue: boolean) of object;
waitidleeventty = procedure(const sender: tguiapplication; var again: boolean) of object;
helpeventty = procedure(const sender: tmsecomponent; var handled: boolean) of object;
syseventhandlereventty = procedure(const awindow: winidty; var aevent: syseventty; var handled: boolean) of object;
guiappoptionty = (...);
guiappoptionsty = set of guiappoptionty;
keyinfoarty = array of keyinfoty;
getwidgetintegerty = function(const awidget: twidget): integer;
getwidgetbooleanty = function(const awidget: twidget): boolean;
setwidgetintegerty = procedure(const awidget: twidget; const avalue: integer);
pwidgetaccessty = ˆwidgetaccessty;

Constants

mseguiversiontext = '4.6.2';
copyrighttext = 'Copyright 1999-2018';
defaultwidgetcolor = cl_default;
defaulttoplevelwidgetcolor = cl_background;
defaultfadecolor = cl_ltgray;
defaultfadecolor1 = cl_dkgray;
defaultfadeopacolor = cl_white;
hintdelaytime = 500000;
defaulthintshowtime = 3000000;
mouseparktime = 500000;
defaultdblclicktime = 400000;
mindragdist = 4;
mousebuttons = [ss_left,ss_right,ss_middle];
hintidnone = 0;
hintidwidget = -1;
hintidframe = -100;
deprecatedoptionswidget= [ow_noautosizing,ow_canclosenil];
invisibleoptionswidget = [ord(ow_noautosizing),ord(ow_canclosenil)];
defaultwidgetstates = [ws_visible,ws_enabled,ws_iswidget,ws_isvisible];
defaultwidgetstatesinvisible = [ws_enabled,ws_iswidget];
focusstates = [ws_visible,ws_enabled];
defaultoptionswidget = [ow_mousefocus,ow_tabfocus,ow_arrowfocus, ow_destroywidgets];
defaultoptionswidget1 = [ow1_autoscale];
defaultoptionswidgetmousewheel = defaultoptionswidget + [ow_mousewheel];
defaultoptionswidgetnofocus = defaultoptionswidget - [ow_mousefocus,ow_tabfocus,ow_arrowfocus];
defaultoptionswidgetsubfocus = defaultoptionswidget + [ow_subfocus];
defaultoptionsskin = [];
defaultcontainerskinoptions = defaultoptionsskin + [osk_container,osk_noclientsize];
defaultwidgetwidth = 50;
defaultwidgetheight = 50;
defaultanchors = [an_left,an_top];
defaulthintflags = [];
allframelocalprops: framelocalpropsty = [frl_levelo,frl_leveli,frl_framewidth, frl_colorframe,frl_colorframeactive, frl_colordkshadow,frl_colorshadow, frl_colorlight,frl_colorhighlight, frl_colordkwidth,frl_colorhlwidth, frl_hiddenedges, frl_fileft,frl_fitop,frl_firight,frl_fibottom, frl_frameimagelist,frl_frameimageleft,frl_frameimagetop, frl_frameimageright,frl_frameimagebottom, frl_frameimageoffset,frl_frameimageoffset1, frl_frameimageoffsetdisabled,frl_frameimageoffsetmouse, frl_frameimageoffsetclicked, frl_frameimageoffsetfocused,frl_frameimageoffsetactive, frl_optionsskin, frl_colorclient, frl_nodisable];
allframelocalprops1: framelocalprops1ty = [ frl1_framefacelist, frl1_framefaceoffset,frl1_framefaceoffset1, frl1_framefaceoffsetdisabled,frl1_framefaceoffsetmouse, frl1_framefaceoffsetclicked, frl1_framefaceoffsetfocused,frl1_framefaceoffsetactive, frl1_font,frl1_captiondist,frl1_captionoffset, frl1_focusrectdist, frl1_extraspace, frl1_imagedist,frl1_imagedist1,frl1_imagedist2, frl1_foleft,frl1_fotop,frl1_foright,frl1_fobottom, frl1_colorglyph,frl1_colorpattern, frl1_colorframedisabled,frl1_colorframemouse, frl1_colorframeclicked,frl1_colorframedefault];
allfacelocalprops: facelocalpropsty = [fal_options,fal_framei_left,fal_framei_top, fal_framei_right,fal_framei_bottom, fal_fadirection,fal_image, fal_fapos,fal_facolor,fal_faopapos,fal_faopacolor, fal_fatransparency, fal_faopacity,fal_frameimagelist,fal_frameimageoffset];
deprecatedfacelocalprops = [fal_fatransparency];
invisiblefacelocalprops = [ord(fal_fatransparency)];
widgetaccessx: widgetaccessty = ( pos: wbounds_x; size: wbounds_cx; stop: wstopx; min: wbounds_cxmin; max: wbounds_cxmax; opos: wbounds_y; osize: wbounds_cy; ostop: wstopy; omin: wbounds_cymin; omax: wbounds_cymax; setpos: wsetbounds_x; setsize: wsetbounds_cx; setanchordsize: wsetanchord_cx; setstop: wsetstopx; setmin: wsetbounds_cxmin; setmax: wsetbounds_cxmax; setopos: wsetbounds_y; setosize: wsetbounds_cy; setostop: wsetstopy; setomin: wsetbounds_cymin; setomax: wsetbounds_cymax; anchstop: wanchstopx; oanchstop: wanchstopy; anchboth: wanchbothx; oanchboth: wanchbothy; );
widgetaccessy: widgetaccessty = ( pos: wbounds_y; size: wbounds_cy; stop: wstopy; min: wbounds_cymin; max: wbounds_cymax; opos: wbounds_x; osize: wbounds_cx; ostop: wstopx; omin: wbounds_cxmin; omax: wbounds_cxmax; setpos: wsetbounds_y; setsize: wsetbounds_cy; setanchordsize: wsetanchord_cy; setstop: wsetstopy; setmin: wsetbounds_cymin; setmax: wsetbounds_cymax; setopos: wsetbounds_x; setosize: wsetbounds_cx; setostop: wsetstopx; setomin: wsetbounds_cxmin; setomax: wsetbounds_cxmax; anchstop: wanchstopy; oanchstop: wanchstopx; anchboth: wanchbothy; oanchboth: wanchbothx; );

Description

Functions and Procedures

function translatewidgetpoint(const point: pointty; const source,dest: twidget): pointty;
 
procedure translatewidgetpoint1(var point: pointty; const source,dest: twidget);
 
function translatewidgetrect(const rect: rectty; const source,dest: twidget): rectty;
 
function translatepaintpoint(const point: pointty; const source,dest: twidget): pointty;
 
procedure translatepaintpoint1(var point: pointty; const source,dest: twidget);
 
function translatepaintrect(const rect: rectty; const source,dest: twidget): rectty;
 
function translatewidgettopaintpoint(const point: pointty; const source,dest: twidget): pointty;
 
procedure translatewidgettopaintpoint1(var point: pointty; const source,dest: twidget);
 
function translatewidgettopaintrect(const rect: rectty; const source,dest: twidget): rectty;
 
function translateclientpoint(const point: pointty; const source,dest: twidget): pointty;
 
procedure translateclientpoint1(var point: pointty; const source,dest: twidget);
 
function translateclientrect(const rect: rectty; const source,dest: twidget): rectty;
 
procedure sortwidgetsxorder(var awidgets: widgetarty; const parent: twidget = nil);
 
procedure sortwidgetsyorder(var awidgets: widgetarty; const parent: twidget = nil);
 
procedure syncmaxautosize(const widgets: array of twidget);
 
procedure syncpaintwidth(const awidgets: array of twidget; const awidgetwidth: integer = -1);
 
procedure syncpaintheight(const awidgets: array of twidget; const awidgetheight: integer = -1);
 
function checkshortcut(var info: keyeventinfoty; const caption: msestring; const checkalt: boolean): boolean; overload;
 
function checkshortcut(var info: keyeventinfoty; const key: keyty; const shiftstate: shiftstatesty): boolean; overload;
 
function wbounds_x(const awidget: twidget): integer;
 
procedure wsetbounds_x(const awidget: twidget; const avalue: integer);
 
function wbounds_y(const awidget: twidget): integer;
 
procedure wsetbounds_y(const awidget: twidget; const avalue: integer);
 
function wbounds_cx(const awidget: twidget): integer;
 
procedure wsetbounds_cx(const awidget: twidget; const avalue: integer);
 
procedure wsetanchord_cx(const awidget: twidget; const avalue: integer);
 
function wbounds_cy(const awidget: twidget): integer;
 
procedure wsetbounds_cy(const awidget: twidget; const avalue: integer);
 
procedure wsetanchord_cy(const awidget: twidget; const avalue: integer);
 
function wstopx(const awidget: twidget): integer;
 
procedure wsetstopx(const awidget: twidget; const avalue: integer);
 
function wstopy(const awidget: twidget): integer;
 
procedure wsetstopy(const awidget: twidget; const avalue: integer);
 
function wanchstopx(const awidget: twidget): boolean;
 
function wanchstopy(const awidget: twidget): boolean;
 
function wanchbothx(const awidget: twidget): boolean;
 
function wanchbothy(const awidget: twidget): boolean;
 
function wbounds_cxmin(const awidget: twidget): integer;
 
procedure wsetbounds_cxmin(const awidget: twidget; const avalue: integer);
 
function wbounds_cymin(const awidget: twidget): integer;
 
procedure wsetbounds_cymin(const awidget: twidget; const avalue: integer);
 
function wbounds_cxmax(const awidget: twidget): integer;
 
procedure wsetbounds_cxmax(const awidget: twidget; const avalue: integer);
 
function wbounds_cymax(const awidget: twidget): integer;
 
procedure wsetbounds_cymax(const awidget: twidget; const avalue: integer);
 
function application: tguiapplication;
 
function mousebuttontoshiftstate(button: mousebuttonty): shiftstatesty;
 
function isenterkey(const awidget: twidget; const key: keyty): boolean;
 
function isdblclick(const ainfo: mouseeventinfoty; const abutton: mousebuttonty = mb_left): boolean;
 
function eatdblclick(var ainfo: mouseeventinfoty; const abutton: mousebuttonty = mb_left): boolean;
 
function simulatemodalresult(const awidget: twidget; const amodres: modalresultty): boolean;
 
procedure beep;
 
procedure guibeep;
 
procedure enablewidgets(awidgets: array of twidget);
 
procedure disablewidgets(awidgets: array of twidget);
 
procedure showwidgets(awidgets: array of twidget);
 
procedure hidewidgets(awidgets: array of twidget);
 
function showmodalwidget(const aclass: widgetclassty): modalresultty;
 
function getiassistiveclient(const awidget: twidget): iassistiveclient;
 
procedure writewidgetnames(const writer: twriter; const ar: widgetarty);
 
function needswidgetnamewriting(const ar: widgetarty): boolean; overload;
 
function needswidgetnamewriting(const ar1,ar2: widgetarty): boolean; overload;
 
procedure designeventloop;
 
function getprocesswindow(const procid: integer): winidty;
 
function activateprocesswindow(const procid: integer; const araise: boolean = true): boolean;
 
function combineframestateflags(const disabled,focused,active, mouse,clicked: boolean): framestateflagsty;
 
function combineframestateflags( const astate: shapestatesty): framestateflagsty;
 

Types

frameskinoptionty = (...);
 
Values
  • fso_flat
  • fso_noanim
  • fso_nomouseanim
  • fso_noclickanim
  • fso_nofocusanim
  • fso_focusrect
  • fso_nofocusrect
  • fso_forcefocusrect
  • fso_nodefaultrect
  • fso_noinnerrect
  • fso_clientfacerect
  • fso_faceoverlay
frameskinoptionsty = set of frameskinoptionty;
 
frameskincontrolleroptionty = (...);
 
Values
  • fsco_colorclient
  • fsco_frameileftsize
  • fsco_frameirightsize
  • fsco_frameitopsize
  • fsco_frameibottomsize
  • fsco_noclientsize
frameskincontrolleroptionsty = set of frameskincontrolleroptionty;
 
optionwidgetty = (...);
 
Values
  • ow_background
  • ow_top
  • ow_ultratop
  • ow_transientformain
  • ow_noautosizing
  • ow_mousefocus
  • ow_tabfocus
  • ow_parenttabfocus
  • ow_arrowfocus
  • ow_arrowfocusin
  • ow_arrowfocusout
  • ow_subfocus
  • ow_focusbackonesc
  • ow_keyreturntaborder
  • ow_nosiblingshortcut
  • ow_nochildshortcut
  • ow_noparentshortcut
  • ow_canclosenil
  • ow_mousetransparent
  • ow_mousewheel
  • ow_noscroll
  • ow_nochildpaintclip
  • ow_nochildclipsiblings
  • ow_destroywidgets
  • ow_nohidewidgets
  • ow_hinton
  • ow_hintoff
  • ow_disabledhint
  • ow_appinactivehint
  • ow_multiplehint
  • ow_timedhint
optionswidgetty = set of optionwidgetty;
 
optionwidget1ty = (...);
 
Values
  • ow1_clientcxmin
  • ow1_clientcymin
  • ow1_clientcxmax
  • ow1_clientcymax
  • ow1_fontglyphheight
  • ow1_fontlineheight
  • ow1_autoscale
  • ow1_autowidth
  • ow1_autoheight
  • ow1_autosizeanright
  • ow1_noautosizeanright
  • ow1_autosizeanbottom
  • ow1_noautosizeanbottom
  • ow1_noparentwidthextend
  • ow1_noparentheightextend
  • ow1_invisibleparentsizeextend
  • ow1_canclosenil
  • ow1_nocancloseifhidden
  • ow1_modalcallonactivate
  • ow1_modalcallondeactivate
  • ow1_noautosizing
  • ow1_noclampinview
  • ow1_noassistive
optionswidget1ty = set of optionwidget1ty;
 
optionskinty = (...);
 
Values
  • osk_skin
  • osk_noskin
  • osk_framebuttononly
  • osk_noframe
  • osk_noface
  • osk_nooptions
  • osk_container
  • osk_noclientsize
  • osk_colorcaptionframe
  • osk_nocolorcaptionframe
  • osk_nopropleft
  • osk_noproptop
  • osk_nopropwidth
  • osk_nopropheight
  • osk_nopropfont
  • osk_noalignx
  • osk_noaligny
  • osk_nopaintref
  • osk_nolayoutcx
  • osk_nolayoutcy
optionsskinty = set of optionskinty;
 
anchorty = (...);
 
Values
  • an_left
  • an_top
  • an_right
  • an_bottom
anchorsty = set of anchorty;
 
widgetstatety = (...);
 
Values
  • ws_visible
  • ws_enabled
  • ws_active
  • ws_entered
  • ws_entering
  • ws_exiting
  • ws_focused
  • ws_mouseinclient
  • ws_wantmousebutton
  • ws_wantmousemove
  • ws_wantmousefocus
  • ws_iswidget
  • ws_designing
  • ws_opaque
  • ws_nopaint
  • ws_lclicked
  • ws_mclicked
  • ws_rclicked
  • ws_mousecaptured
  • ws_clientmousecaptured
  • ws_newmousecapture
  • ws_loadlock
  • ws_loadedproc
  • ws_showproc
  • ws_minclientsizevalid
  • ws_destroying
  • ws_staticframe
  • ws_staticface
  • ws_isvisible
widgetstatesty = set of widgetstatety;
 
widgetstate1ty = (...);
 
Values
  • ws1_childscaled
  • ws1_childrectchanged
  • ws1_widgetrectsetting
  • ws1_scaling
  • ws1_autoscaling
  • ws1_autosizing
  • ws1_painting
  • ws1_updateopaque
  • ws1_widgetregionvalid
  • ws1_rootvalid
  • ws1_anchorsizing
  • ws1_anchorsetting
  • ws1_layoutplacing
  • ws1_parentclientsizeinited
  • ws1_parentupdating
  • ws1_isstreamed
  • ws1_scaled
  • ws1_forceclose
  • ws1_noclipchildren
  • ws1_tryshrink
  • ws1_noframewidgetshift
  • ws1_framemouse
  • ws1_nodesignvisible
  • ws1_nodesignframe
  • ws1_nodesignhandles
  • ws1_nodesigndelete
  • ws1_nodesignmove
  • ws1_designactive
  • ws1_nodisabledclick
  • ws1_designwidget
  • ws1_fakevisible
  • ws1_nominsize
  • ws1_onkeydowncalled
widgetstates1ty = set of widgetstate1ty;
 
framestatety = (...);
 
Values
  • fs_sbhorzon
  • fs_sbverton
  • fs_sbhorzfix
  • fs_sbvertfix
  • fs_sbhorztop
  • fs_sbvertleft
  • fs_sbleft
  • fs_sbtop
  • fs_sbright
  • fs_sbbottom
  • fs_nowidget
  • fs_nosetinstance
  • fs_framemouse
  • fs_disabled
  • fs_creating
  • fs_stateupdating
  • fs_clientrectchanging
  • fs_cancaptionsyncx
  • fs_cancaptionsyncy
  • fs_drawfocusrect
  • fs_paintrectfocus
  • fs_captionfocus
  • fs_captionhint
  • fs_rectsvalid
  • fs_widgetregionchanging
  • fs_widgetactive
  • fs_paintposinited
  • fs_needsmouseinvalidate
  • fs_canclientextendx
  • fs_canclientextendy
framestatesty = set of framestatety;
 
hintflagty = (...);
 
Values
  • hfl_show
  • hfl_custom
  • hfl_noautohidemove
hintflagsty = set of hintflagty;
 
framelocalpropty = (...);
 
Values
  • frl_levelo
  • frl_leveli
  • frl_framewidth
  • frl_colorframe
  • frl_colorframeactive
  • frl_colordkshadow
  • frl_colorshadow
  • frl_colorlight
  • frl_colorhighlight
  • frl_colordkwidth
  • frl_colorhlwidth
  • frl_hiddenedges
  • frl_fileft
  • frl_fitop
  • frl_firight
  • frl_fibottom
  • frl_frameimagelist
  • frl_frameimageleft
  • frl_frameimagetop
  • frl_frameimageright
  • frl_frameimagebottom
  • frl_frameimageoffset
  • frl_frameimageoffset1
  • frl_frameimageoffsetdisabled
  • frl_frameimageoffsetmouse
  • frl_frameimageoffsetclicked
  • frl_frameimageoffsetfocused
  • frl_frameimageoffsetactive
  • frl_optionsskin
  • frl_colorclient
  • frl_nodisable
framelocalpropsty = set of framelocalpropty;
 
framelocalprop1ty = (...);
 
Values
  • frl1_framefacelist
  • frl1_framefaceoffset
  • frl1_framefaceoffset1
  • frl1_framefaceoffsetdisabled
  • frl1_framefaceoffsetmouse
  • frl1_framefaceoffsetclicked
  • frl1_framefaceoffsetfocused
  • frl1_framefaceoffsetactive
  • frl1_font
  • frl1_captiondist
  • frl1_captionoffset
  • frl1_focusrectdist
  • frl1_imagedist
  • frl1_imagedist1
  • frl1_imagedist2
  • frl1_extraspace
  • frl1_foleft
  • frl1_fotop
  • frl1_foright
  • frl1_fobottom
  • frl1_colorglyph
  • frl1_colorpattern
  • frl1_colorframedisabled
  • frl1_colorframemouse
  • frl1_colorframeclicked
  • frl1_colorframedefault
framelocalprops1ty = set of framelocalprop1ty;
 
framestateflagty = (...);
 
Values
  • fsf_offset1
  • fsf_disabled
  • fsf_focused
  • fsf_active
  • fsf_mouse
  • fsf_clicked
  • fsf_default
framestateflagsty = set of framestateflagty;
 
facelocalpropty = (...);
 
Values
  • fal_options
  • fal_framei_left
  • fal_framei_top
  • fal_framei_right
  • fal_framei_bottom
  • fal_fadirection
  • fal_image
  • fal_fapos
  • fal_facolor
  • fal_faopapos
  • fal_faopacolor
  • fal_fatransparency
  • fal_faopacity
  • fal_frameimagelist
  • fal_frameimageoffset
facelocalpropsty = set of facelocalpropty;
 
widgetclassty = class of twidget;
 
showhinteventty = procedure(const sender: tobject; var info: hintinfoty) of object;
 
beforeframepaintbackgroundeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean; var handled: boolean) of object;
 
afterframepaintbackgroundeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; const clip: boolean; const move: boolean) of object;
 
beforeframepaintoverlayeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty; var handled: boolean) of object;
 
afterframepaintoverlayeventty = procedure (const sender: tcustomframe; const canvas: tcanvas; const arect: rectty) of object;
 
beforeframetemplatepaintbackgroundeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty; var handled: boolean) of object;
 
afterframetemplatepaintbackgroundeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty) of object;
 
beforeframetemplatepaintoverlayeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty; var handled: boolean) of object;
 
afterframetemplatepaintoverlayeventty = procedure (const sender: tframetemplate; const canvas: tcanvas; const arect: rectty; const astate: framestateflagsty) of object;
 
faceoptionty = (...);
 
Values
  • fao_alphafadeimage
  • fao_alphafadenochildren
  • fao_alphafadeall
  • fao_alphaimage
  • fao_fadeoverlay
  • fao_overlay
faceoptionsty = set of faceoptionty;
 
beforefacepainteventty = procedure (const sender: tcustomface; const canvas: tcanvas; const arect: rectty; var handled: boolean) of object;
 
afterfacepainteventty = procedure (const sender: tcustomface; const canvas: tcanvas; const arect: rectty) of object;
 
mouseeventty = procedure (const sender: twidget; var ainfo: mouseeventinfoty) of object;
 
mousewheeleventty = procedure (const sender: twidget; var ainfo: mousewheeleventinfoty) of object;
 
keyeventty = procedure (const sender: twidget; var ainfo: keyeventinfoty) of object;
 
shortcuteventty = procedure (const sender: twidget; var ainfo: keyeventinfoty; const origin: twidget) of object;
 
painteventty = procedure (const sender: twidget; const acanvas: tcanvas) of object;
 
pointeventty = procedure(const sender: twidget; const apoint: pointty) of object;
 
widgeteventty = procedure(const sender: tobject; const awidget: twidget) of object;
 
widgetarty = array of twidget;
 
pwindow = ˆtwindow;
 
widgetfontclassty = class of twidgetfont;
 
widgetfontemptyclassty = class of twidgetfontempty;
 
modallevelty = (...);
 
Values
  • ml_none
  • ml_application
  • ml_window
rootchangeflagty = (...);
 
Values
  • rcf_widgetregioninvalid
  • rcf_windowset
  • rcf_windowremove
rootchangeflagsty = set of rootchangeflagty;
 
widgetalignmodety = (...);
 
Values
  • wam_none
  • wam_start
  • wam_center
  • wam_end
navigrequesteventty = procedure(const sender: twidget; var ainfo: naviginfoty) of object;
 
pwidget = ˆtwidget;
 
windowstatety = (...);
 
Values
  • tws_posvalid
  • tws_sizevalid
  • tws_windowvisible
  • tws_focusoutpending
  • tws_windowshowpending
  • tws_modalfor
  • tws_modalcalling
  • tws_needsdefaultpos
  • tws_closing
  • tws_painting
  • tws_activating
  • tws_globalshortcuts
  • tws_localshortcuts
  • tws_buttonendmodal
  • tws_grouphidden
  • tws_groupminimized
  • tws_groupmaximized
  • tws_transientforminimized
  • tws_grab
  • tws_activatelocked
  • tws_canvasoverride
  • tws_destroying
  • tws_candefocus
  • tws_raise
  • tws_lower
windowstatesty = set of windowstatety;
 
pmodalinfoty = ˆmodalinfoty;
 
pshowinfoty = ˆshowinfoty;
 
pwindowevent = ˆtwindowevent;
 
windowarty = array of twindow;
 
pwindowarty = ˆwindowarty;
 
windowaty = array[0..0] of twindow;
 
pwindowaty = ˆwindowaty;
 
windowchangeeventty = procedure(const oldwindow,newwindow: twindow) of object;
 
widgetchangeeventty = procedure(const oldwidget,newwidget: twidget) of object;
 
windoweventty = procedure(const awindow: twindow) of object;
 
winideventty = procedure(const awinid: winidty) of object;
 
booleaneventty = procedure(const avalue: boolean) of object;
 
waitidleeventty = procedure(const sender: tguiapplication; var again: boolean) of object;
 
helpeventty = procedure(const sender: tmsecomponent; var handled: boolean) of object;
 
syseventhandlereventty = procedure(const awindow: winidty; var aevent: syseventty; var handled: boolean) of object;
 
guiappoptionty = (...);
 
Values
  • gao_forcezorder
guiappoptionsty = set of guiappoptionty;
 
keyinfoarty = array of keyinfoty;
 
getwidgetintegerty = function(const awidget: twidget): integer;
 
getwidgetbooleanty = function(const awidget: twidget): boolean;
 
setwidgetintegerty = procedure(const awidget: twidget; const avalue: integer);
 
pwidgetaccessty = ˆwidgetaccessty;
 

Constants

mseguiversiontext = '4.6.2';
 
copyrighttext = 'Copyright 1999-2018';
 
defaultwidgetcolor = cl_default;
 
defaulttoplevelwidgetcolor = cl_background;
 
defaultfadecolor = cl_ltgray;
 
defaultfadecolor1 = cl_dkgray;
 
defaultfadeopacolor = cl_white;
 
hintdelaytime = 500000;
 
defaulthintshowtime = 3000000;
 
mouseparktime = 500000;
 
defaultdblclicktime = 400000;
 
mindragdist = 4;
 
mousebuttons = [ss_left,ss_right,ss_middle];
 
hintidnone = 0;
 
hintidwidget = -1;
 
hintidframe = -100;
 
deprecatedoptionswidget= [ow_noautosizing,ow_canclosenil];
 
invisibleoptionswidget = [ord(ow_noautosizing),ord(ow_canclosenil)];
 
defaultwidgetstates = [ws_visible,ws_enabled,ws_iswidget,ws_isvisible];
 
defaultwidgetstatesinvisible = [ws_enabled,ws_iswidget];
 
focusstates = [ws_visible,ws_enabled];
 
defaultoptionswidget = [ow_mousefocus,ow_tabfocus,ow_arrowfocus, ow_destroywidgets];
 
defaultoptionswidget1 = [ow1_autoscale];
 
defaultoptionswidgetmousewheel = defaultoptionswidget + [ow_mousewheel];
 
defaultoptionswidgetnofocus = defaultoptionswidget - [ow_mousefocus,ow_tabfocus,ow_arrowfocus];
 
defaultoptionswidgetsubfocus = defaultoptionswidget + [ow_subfocus];
 
defaultoptionsskin = [];
 
defaultcontainerskinoptions = defaultoptionsskin + [osk_container,osk_noclientsize];
 
defaultwidgetwidth = 50;
 
defaultwidgetheight = 50;
 
defaultanchors = [an_left,an_top];
 
defaulthintflags = [];
 
allframelocalprops: framelocalpropsty = [frl_levelo,frl_leveli,frl_framewidth, frl_colorframe,frl_colorframeactive, frl_colordkshadow,frl_colorshadow, frl_colorlight,frl_colorhighlight, frl_colordkwidth,frl_colorhlwidth, frl_hiddenedges, frl_fileft,frl_fitop,frl_firight,frl_fibottom, frl_frameimagelist,frl_frameimageleft,frl_frameimagetop, frl_frameimageright,frl_frameimagebottom, frl_frameimageoffset,frl_frameimageoffset1, frl_frameimageoffsetdisabled,frl_frameimageoffsetmouse, frl_frameimageoffsetclicked, frl_frameimageoffsetfocused,frl_frameimageoffsetactive, frl_optionsskin, frl_colorclient, frl_nodisable];
 
allframelocalprops1: framelocalprops1ty = [ frl1_framefacelist, frl1_framefaceoffset,frl1_framefaceoffset1, frl1_framefaceoffsetdisabled,frl1_framefaceoffsetmouse, frl1_framefaceoffsetclicked, frl1_framefaceoffsetfocused,frl1_framefaceoffsetactive, frl1_font,frl1_captiondist,frl1_captionoffset, frl1_focusrectdist, frl1_extraspace, frl1_imagedist,frl1_imagedist1,frl1_imagedist2, frl1_foleft,frl1_fotop,frl1_foright,frl1_fobottom, frl1_colorglyph,frl1_colorpattern, frl1_colorframedisabled,frl1_colorframemouse, frl1_colorframeclicked,frl1_colorframedefault];
 
allfacelocalprops: facelocalpropsty = [fal_options,fal_framei_left,fal_framei_top, fal_framei_right,fal_framei_bottom, fal_fadirection,fal_image, fal_fapos,fal_facolor,fal_faopapos,fal_faopacolor, fal_fatransparency, fal_faopacity,fal_frameimagelist,fal_frameimageoffset];
 
deprecatedfacelocalprops = [fal_fatransparency];
 
invisiblefacelocalprops = [ord(fal_fatransparency)];
 
widgetaccessx: widgetaccessty = ( pos: wbounds_x; size: wbounds_cx; stop: wstopx; min: wbounds_cxmin; max: wbounds_cxmax; opos: wbounds_y; osize: wbounds_cy; ostop: wstopy; omin: wbounds_cymin; omax: wbounds_cymax; setpos: wsetbounds_x; setsize: wsetbounds_cx; setanchordsize: wsetanchord_cx; setstop: wsetstopx; setmin: wsetbounds_cxmin; setmax: wsetbounds_cxmax; setopos: wsetbounds_y; setosize: wsetbounds_cy; setostop: wsetstopy; setomin: wsetbounds_cymin; setomax: wsetbounds_cymax; anchstop: wanchstopx; oanchstop: wanchstopy; anchboth: wanchbothx; oanchboth: wanchbothy; );
 
widgetaccessy: widgetaccessty = ( pos: wbounds_y; size: wbounds_cy; stop: wstopy; min: wbounds_cymin; max: wbounds_cymax; opos: wbounds_x; osize: wbounds_cx; ostop: wstopx; omin: wbounds_cxmin; omax: wbounds_cxmax; setpos: wsetbounds_y; setsize: wsetbounds_cy; setanchordsize: wsetanchord_cy; setstop: wsetstopy; setmin: wsetbounds_cymin; setmax: wsetbounds_cymax; setopos: wsetbounds_x; setosize: wsetbounds_cx; setostop: wsetstopx; setomin: wsetbounds_cxmin; setomax: wsetbounds_cxmax; anchstop: wanchstopy; oanchstop: wanchstopx; anchboth: wanchbothy; oanchboth: wanchbothx; );
 

Generated by PasDoc 0.16.0.