| Format |
'WINDOW'(col,ln,wth,ht[,wdw_id],[title$][,attrib$][,OPT=val$]) Where:
| @(col,ln,
wth,ht) |
Position / coordinates. Numeric
expressions. Column and line coordinates for top left
corner, width in number of columns, height in
number of lines. |
| attrib$ |
Attribute string. Optional. If you
include attributes, use a string of one or more
mnemonics to define the defaults for the window. |
| title$ |
Optional title. String
expression/literal. |
| val$ |
Valid OPT= values
for defining windows in a graphics environment
(ignored in text mode). Valid options are:
| - |
The minus sign indicates
that the Window has a Minimize button.
(Requires 'X' option) |
| c |
Window is a child of the
current window. |
| m |
Enables "maximize"
box in top right corner of window
(Requires 'X' and 'Z' option). |
| S |
Window has Status line /
Message Bar. |
| X |
Enables the close button and
system menu on title bar of window.
| (i.e.
the " |
X |
"
in the top right corner) |
|
| Z |
Creates a resizable window. |
|
| wdw_id |
Window's unique ID number (0 - 255). |
|
| Description |
Use
either 'WINDOW' or 'WA'
in the format to draw (print) a new window. If you
include a title, a box of the defined height and width is
drawn around the window. The title will be left-justified
on the top line of the box unless the 'AH' system
parameter is set. By
default, under Windows, the title bar will not have a
close button nor any other adornment (buttons or system
menu icon) other than the title. These can be added by
specifying the 'X' option.
ProvideX uses the
WS_BORDER and WS_THICKFRAMEframe styles from the Windows
API with the 'WINDOW' mnemonic. For more
information, see Windows API Frame Styles.
See also: 'DIALOGUE' Define / Draw
Dialogue Region and 'TEXTWDW' Create Text
Window
|