Programming guideline of WinDom
- Name
-
windom.window.center - define how windows and formulars are
centered.
- Type
-
Variable
- Syntax
-
windom.window.center =
{screen|mouse|form|upleft|upright|dnleft|dnright}
- Default value
-
windom.window.center = screen
- Description
-
This variable defines how windows (and formulars) are
centered or, in a general way, defines how the output of
GrectCenter() is computed. If a center request is given to
WindOpen() (i.e. x=-1, y=-1), WindOpen() computes the position
with GrectCenter(). The results depends on the value of
windom.windom.center. Possible values are:
- screen: the window is centered in the desktop,
- mouse: the window is centered around the mouse,
- form: the window is centered using the form_center()
function, this function can be controlled by Let's Them
Fly. Using this mode allows you to have forms and windows
opened like non WinDom applications.
- upleft: the window is displayed in the up left corner
of the desktop.
- dnleft: the window is displayed in the down left
corner of the desktop.
- upright: the window is displayed in the up right
corner of the desktop.
- dnright: the window is displayed in the down right
corner of the desktop.
- Related functions
-
GrectCenter(), WindOpen(), FormCreate(), FormBegin(),
FormWindBegin()
- Parent group
-
windom.window