Unit msewidgets

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Class tframefont  
Record doublewidgetty  
Class ttaborderoverride  
Class tcustomcaptionframe  
Class tcaptionframe  
Class timpressedcaptionframe  
Class tscrollboxscrollbar  
Class tthumbtrackscrollbar  
Class tthumbtracknopagesizescrollbar  
Class tcustomscrollframe  
Class tscrollframe  
Class tcustomthumbtrackscrollframe  
Interface iscrollbox  
Class tcustomscrollboxframe  
Class tscrollboxframe  
Interface istepbar  
Record framestepinfoty  
Class tcustomstepframe  
Class tstepframe  
Class tactionwidget  
Class tactionpublishedwidgetnwr  
Class tactionpublishedwidget  
Class tpublishedwidgetnwr  
Class tpublishedwidget  
Class tsimplewidget  
Class tcustomeventwidgetnwr  
Class tcustomeventwidget  
Class ttoplevelwidget  
Class tcaptionwidget  
Class tscrollbarwidget  
Interface iautoscrollframe  
Class tcustomautoscrollframe  
Class tscrollface  
Class tscrollingwidgetnwr  
Class tscrollingwidget  
Class tpopupwidget  
Class tcustomhintwidget  
Class thintwidget  
Class tmessagewidget  
Class tactionsimplebutton  
Class tsimplebutton  

Functions and Procedures

function readcaptiontoimagepos(const reader: treader): imageposty;
procedure synccaptiondistx(const awidgets: array of twidget);
procedure synccaptiondisty(const awidgets: array of twidget);
function getmaxdropdownheight(const parent: twidget): integer;
procedure getdropdownpos(const parent: twidget; const right: boolean; var rect: rectty);
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const defaultbutton: modalresultty = mr_cancel; const noshortcut: modalresultsty = []; const minwidth: integer = 0; const exttext: msestring = ''; const position: messagepositionty = mepo_default): modalresultty; overload;
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const defaultbutton: modalresultty; const noshortcut: modalresultsty; const minwidth: integer; const actions: array of notifyeventty; const exttext: msestring = ''; const position: messagepositionty = mepo_default): modalresultty; overload;
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const adest: rectty; const awidget: twidget = nil; const placement: captionposty = cp_bottomleft; const defaultbutton: modalresultty = mr_cancel; const noshortcut: modalresultsty = []; const minwidth: integer = 0; const exttext: msestring = ''): modalresultty; overload;
function showmessage(const atext: msestring; const caption: msestring = ''; const minwidth: integer = 0; const exttext: msestring = ''): modalresultty; overload;
procedure showmessage1(const atext: msestring; const caption: msestring);
procedure showerror(const atext: msestring; caption: msestring = 'ERROR'; const minwidth: integer = 0; const exttext: msestring = ''; const async: boolean = false);
function askok(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_ok; const minwidth: integer = 0): boolean;
function askyesno(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): boolean;
function askconfirmation(const atext: msestring; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): boolean;
function askconfirmationcancel(const atext: msestring; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): modalresultty;
function askyesnocancel(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): modalresultty;
function confirmsavechangedfile(const filename: filenamety; out modalresult: modalresultty; multiple: boolean = false): boolean;
function showsyserrormessage(const error: syserrorty; const text: msestring = ''): boolean;
function showsyserrormessage(const error: syserrorty; const sender: tobject; const text: msestring = ''): boolean;
procedure copytoclipboard(const value: msestring; const buffer: clipboardbufferty = cbb_clipboard);
function canpastefromclipboard( const buffer: clipboardbufferty = cbb_clipboard): boolean;
function pastefromclipboard(out value: msestring; const buffer: clipboardbufferty = cbb_clipboard): boolean;
function placepopuprect(const awindow: twindow; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
function placepopuprect(const awidget: twidget; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
function placeclientpopuprect(const awidget: twidget; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
procedure getwindowicon(const abitmap: tmaskedbitmap; out aicon,amask: pixmapty; const anodefault: boolean = false);
procedure buttonoptionstoshapestate(avalue: buttonoptionsty; var astate: shapestatesty);

Types

sizeeventty = procedure(const sender: tobject; var asize: sizety) of object;
captionframeoptionty = (...);
captionframeoptionsty = set of captionframeoptionty;
pdoublewidgetty = ˆdoublewidgetty;
doublewidgetarty = array of doublewidgetty;
tabordereventty = procedure(const sender: ttaborderoverride; const current: twidget; const down: boolean; var next: twidget) of object;
framescrollbarclassty = class of tcustomscrollbar;
optionscrollty = (...);
optionsscrollty = set of optionscrollty;
stepkindty = (...);
stepkindsty = set of stepkindty;
stepbuttonposty = (...);
stepframestatety = (...);
stepframestatesty = set of stepframestatety;
queryeventty = procedure(const sender: tobject; var answer: boolean) of object;
popupeventty = procedure(const sender: tobject; var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty) of object;
fontheightdeltaeventty = procedure (const sender: tobject; var delta: integer) of object;
calcminscrollsizeeventty = procedure(const sender: tscrollingwidgetnwr; var asize: sizety) of object;
hintwidgetclassty = class of tcustomhintwidget;
messagepositionty = (...);

Constants

defaultcaptionframeoptions = [];
defaultscrollboxscrollbaroptions = [sbo_thumbtrack,sbo_moveauto,sbo_showauto];
scrollbarframestates: framestatesty = [fs_sbleft,fs_sbtop,fs_sbright,fs_sbbottom];
defaultthumbtrackscrollbaroptions = [sbo_thumbtrack,sbo_showauto];
defaultoptionsscroll = [oscr_mousewheel];
defaultdragbuttons = [ss_middle];
allstepkinds = [sk_right,sk_up,sk_left,sk_down,sk_first,sk_last];
defaultstepbuttonsize = 13;
defaultoptionstoplevelwidget = defaultoptionswidget + [ow_subfocus];
defaultoptionshintwidget = defaultoptionstoplevelwidget + [ow_top];

Description

Functions and Procedures

function readcaptiontoimagepos(const reader: treader): imageposty;
 
procedure synccaptiondistx(const awidgets: array of twidget);
 
procedure synccaptiondisty(const awidgets: array of twidget);
 
function getmaxdropdownheight(const parent: twidget): integer;
 
procedure getdropdownpos(const parent: twidget; const right: boolean; var rect: rectty);
 
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const defaultbutton: modalresultty = mr_cancel; const noshortcut: modalresultsty = []; const minwidth: integer = 0; const exttext: msestring = ''; const position: messagepositionty = mepo_default): modalresultty; overload;
 
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const defaultbutton: modalresultty; const noshortcut: modalresultsty; const minwidth: integer; const actions: array of notifyeventty; const exttext: msestring = ''; const position: messagepositionty = mepo_default): modalresultty; overload;
 
function showmessage(const atext,caption: msestring; const buttons: array of modalresultty; const adest: rectty; const awidget: twidget = nil; const placement: captionposty = cp_bottomleft; const defaultbutton: modalresultty = mr_cancel; const noshortcut: modalresultsty = []; const minwidth: integer = 0; const exttext: msestring = ''): modalresultty; overload;
 
function showmessage(const atext: msestring; const caption: msestring = ''; const minwidth: integer = 0; const exttext: msestring = ''): modalresultty; overload;
 
procedure showmessage1(const atext: msestring; const caption: msestring);
 
procedure showerror(const atext: msestring; caption: msestring = 'ERROR'; const minwidth: integer = 0; const exttext: msestring = ''; const async: boolean = false);
 
function askok(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_ok; const minwidth: integer = 0): boolean;
 
function askyesno(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): boolean;
 
function askconfirmation(const atext: msestring; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): boolean;
 
function askconfirmationcancel(const atext: msestring; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): modalresultty;
 
function askyesnocancel(const atext: msestring; const caption: msestring = ''; const defaultbutton: modalresultty = mr_yes; const minwidth: integer = 0): modalresultty;
 
function confirmsavechangedfile(const filename: filenamety; out modalresult: modalresultty; multiple: boolean = false): boolean;
 
function showsyserrormessage(const error: syserrorty; const text: msestring = ''): boolean;
 
function showsyserrormessage(const error: syserrorty; const sender: tobject; const text: msestring = ''): boolean;
 
procedure copytoclipboard(const value: msestring; const buffer: clipboardbufferty = cbb_clipboard);
 
function canpastefromclipboard( const buffer: clipboardbufferty = cbb_clipboard): boolean;
 
function pastefromclipboard(out value: msestring; const buffer: clipboardbufferty = cbb_clipboard): boolean;
 
function placepopuprect(const awindow: twindow; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
 
function placepopuprect(const awidget: twidget; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
 
function placeclientpopuprect(const awidget: twidget; const adest: rectty; const placement: captionposty; const asize: sizety): rectty;
 
procedure getwindowicon(const abitmap: tmaskedbitmap; out aicon,amask: pixmapty; const anodefault: boolean = false);
 
procedure buttonoptionstoshapestate(avalue: buttonoptionsty; var astate: shapestatesty);
 

Types

sizeeventty = procedure(const sender: tobject; var asize: sizety) of object;
 
captionframeoptionty = (...);
 
Values
  • cfo_fixleft
  • cfo_fixright
  • cfo_fixtop
  • cfo_fixbottom
  • cfo_autowidth
  • cfo_autoheight
  • cfo_captionnogray
  • cfo_captiondistouter
  • cfo_captionframecentered
  • cfo_captionnoclip
  • cfo_nofocusrect
  • cfo_forcefocusrect
  • cfo_focusrect
  • cfo_captionfocus
  • cfo_framerectfocus
captionframeoptionsty = set of captionframeoptionty;
 
pdoublewidgetty = ˆdoublewidgetty;
 
doublewidgetarty = array of doublewidgetty;
 
tabordereventty = procedure(const sender: ttaborderoverride; const current: twidget; const down: boolean; var next: twidget) of object;
 
framescrollbarclassty = class of tcustomscrollbar;
 
optionscrollty = (...);
 
Values
  • oscr_drag
  • oscr_zoomwidth
  • oscr_zoomheight
  • oscr_key
  • oscr_mousewheel
optionsscrollty = set of optionscrollty;
 
stepkindty = (...);
 
Values
  • sk_right
  • sk_up
  • sk_left
  • sk_down
  • sk_first
  • sk_last
stepkindsty = set of stepkindty;
 
stepbuttonposty = (...);
 
Values
  • sbp_right
  • sbp_top
  • sbp_left
  • sbp_bottom
stepframestatety = (...);
 
Values
  • sfs_spinedit
  • sfs_canstep
stepframestatesty = set of stepframestatety;
 
queryeventty = procedure(const sender: tobject; var answer: boolean) of object;
 
popupeventty = procedure(const sender: tobject; var amenu: tpopupmenu; var mouseinfo: mouseeventinfoty) of object;
 
fontheightdeltaeventty = procedure (const sender: tobject; var delta: integer) of object;
 
calcminscrollsizeeventty = procedure(const sender: tscrollingwidgetnwr; var asize: sizety) of object;
 
hintwidgetclassty = class of tcustomhintwidget;
 
messagepositionty = (...);
 
Values
  • mepo_default
  • mepo_screencentered
  • mepo_windowcentered

Constants

defaultcaptionframeoptions = [];
 
defaultscrollboxscrollbaroptions = [sbo_thumbtrack,sbo_moveauto,sbo_showauto];
 
scrollbarframestates: framestatesty = [fs_sbleft,fs_sbtop,fs_sbright,fs_sbbottom];
 
defaultthumbtrackscrollbaroptions = [sbo_thumbtrack,sbo_showauto];
 
defaultoptionsscroll = [oscr_mousewheel];
 
defaultdragbuttons = [ss_middle];
 
allstepkinds = [sk_right,sk_up,sk_left,sk_down,sk_first,sk_last];
 
defaultstepbuttonsize = 13;
 
defaultoptionstoplevelwidget = defaultoptionswidget + [ow_subfocus];
 
defaultoptionshintwidget = defaultoptionstoplevelwidget + [ow_top];
 

Generated by PasDoc 0.16.0.