Unit mseforms

Description

This item has no description.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class tformscrollbox The scrolling client area of a tcustommseform, holding the form's widgets (accessible as form.container).
Class tcustommseform  
Class tmseformwidget  
Class tmseform Form template Simple Form and Main Form both create a tmseform: a Main Form merely has fo_main and fo_terminateonclose set in options by default, the class is the same and both are interchangeable by setting options accordingly.
Class tmainform  
Class tformdockcontroller  
Class tcustomdockform  
Class tdockformwidget  
Class tdockform tdockform (together with tdockpanel) provides MSEgui's MDI-like functionality: forms can be tabbed, split horizontally or vertically, floated and docked, driven by the dragdock property.
Class tdockformscrollbox  
Class tsubform Lightweight embedded form, meant to be integrated into a tmseform or a tdockform as a submodule — the MSEgui equivalent of Delphi's TFrame, except that in MSEgui any form class can serve as a submodule, not just tsubform.
Class tscrollboxform  
Class ttabformfonttab  
Class ttabformfontactivetab  
Class ttabform  

Functions and Procedures

function createmseform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
function createmainform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
function createsubform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
function createscrollboxform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;
function createtabform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

Types

formoptionty = (...);
formoptionsty = set of formoptionty;
closequeryeventty = procedure(const sender: tcustommseform; var amodalresult: modalresultty) of object;
syseventeventty = procedure(const sender: tcustommseform; var aevent: syseventty; var handled: boolean) of object;
formstatety = (...);
formstatesty = set of formstatety;
optionsizingty = (...);
optionssizingty = set of optionsizingty;
custommseformclassty = class of tcustommseform;
mainformclassty = class of tmainform;
optiondockformty = (...);
optionsdockformty = set of optiondockformty;
subformclassty = class of tsubform;
scrollboxformclassty = class of tscrollboxform;
tabformclassty = class of ttabform;

Constants

defaultformoptions = [fo_autoreadstat,fo_autowritestat, fo_savepos,fo_savezorder,fo_savestate];
defaultmainformoptions = defaultformoptions + [fo_main,fo_terminateonclose];
defaultmainformoptionswindow = [wo_groupleader,wo_taskbar];
defaultformwidgetoptions = (defaultoptionswidgetmousewheel - []) + [ow_subfocus,ow_hinton];
defaultcontaineroptionswidget = defaultoptionswidgetmousewheel + [ow_subfocus,ow_mousetransparent];
defaultoptionsdockform = [odf_childicons,odf_mainchildicon,odf_maintaskbar, odf_mainmainwindow];

Description

Functions and Procedures

function createmseform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

This item has no description.

function createmainform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

This item has no description.

function createsubform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

This item has no description.

function createscrollboxform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

This item has no description.

function createtabform(const aclass: tclass; const aclassname: pshortstring): tmsecomponent;

This item has no description.

Types

formoptionty = (...);

fo_main makes the form the application's main GUI face and event receiver, and its icon the application's icon. fo_terminateonclose terminates the application once the form has closed, independently of fo_main. fo_freeonclose releases the form's memory on closure (even for a modal form), once oncanclose accepts closing.

fo_closeonesc closes the form with mr_escape (not mr_windowclosed) when Escape is pressed. fo_defaultpos discards the design-time position on the window's first creation, so the window manager can place it freely (do not set it from onexecute). fo_minimized, fo_maximized and fo_fullscreen set the initial window state. Window position, size and state are saved by the connected tstatfile if fo_savestate is set; restoring the user's last state is usually preferable to forcing one of these initial states. More generally, the form calls tstatfile.readstat/writestat automatically only if fo_autoreadstat/fo_autowritestat is set; otherwise call them programmatically, or use a tactivator.

Values
  • fo_main
  • fo_terminateonclose
  • fo_freeonclose
  • fo_windowclosecancel
  • fo_defaultpos
  • fo_screencentered
  • fo_screencenteredvirt
  • fo_transientforcentered
  • fo_mainwindowcentered
  • fo_modal
  • fo_createmodal
  • fo_minimized
  • fo_maximized
  • fo_fullscreen
  • fo_fullscreenvirt
  • fo_closeonesc
  • fo_cancelonesc
  • fo_closeonenter
  • fo_closeonf10
  • fo_keycloseifwinonly
  • fo_nowindowclose
  • fo_globalshortcuts: Adjust shortcut handling for an undocked (floating) form with fo_localshortcuts and fo_globalshortcuts, similarly to ow_noparentshortcut/ow_nochildshortcut for widgets.
  • fo_localshortcuts
  • fo_autoreadstat
  • fo_delayedreadstat
  • fo_autowritestat
  • fo_savepos
  • fo_savezorder
  • fo_savestate
formoptionsty = set of formoptionty;

This item has no description.

closequeryeventty = procedure(const sender: tcustommseform; var amodalresult: modalresultty) of object;

This item has no description.

syseventeventty = procedure(const sender: tcustommseform; var aevent: syseventty; var handled: boolean) of object;

This item has no description.

formstatety = (...);

This item has no description.

Values
  • fos_statreading
formstatesty = set of formstatety;

This item has no description.

optionsizingty = (...);

This item has no description.

Values
  • osi_left
  • osi_top
  • osi_right
  • osi_bottom
optionssizingty = set of optionsizingty;

This item has no description.

custommseformclassty = class of tcustommseform;

This item has no description.

mainformclassty = class of tmainform;

This item has no description.

optiondockformty = (...);

This item has no description.

Values
  • odf_main
  • odf_childicons
  • odf_mainchildicon
  • odf_maintaskbar
  • odf_mainmainwindow
optionsdockformty = set of optiondockformty;

This item has no description.

subformclassty = class of tsubform;

This item has no description.

scrollboxformclassty = class of tscrollboxform;

This item has no description.

tabformclassty = class of ttabform;

This item has no description.

Constants

defaultformoptions = [fo_autoreadstat,fo_autowritestat, fo_savepos,fo_savezorder,fo_savestate];

This item has no description.

defaultmainformoptions = defaultformoptions + [fo_main,fo_terminateonclose];

This item has no description.

defaultmainformoptionswindow = [wo_groupleader,wo_taskbar];

This item has no description.

defaultformwidgetoptions = (defaultoptionswidgetmousewheel - []) + [ow_subfocus,ow_hinton];

This item has no description.

defaultcontaineroptionswidget = defaultoptionswidgetmousewheel + [ow_subfocus,ow_mousetransparent];

This item has no description.

defaultoptionsdockform = [odf_childicons,odf_mainchildicon,odf_maintaskbar, odf_mainmainwindow];

This item has no description.


Generated by PasDoc 1.0.4.