645
'WINDOW' or 'WA' Mnemonic
Define / Draw Window
Format
'WINDOW'(col,ln,wth,ht[,wdw_id],[title$][,attrib$][,OPT=string$])
Where:
@(col,ln, Position / coordinates. Numeric expressions. Column and line
wth,ht)
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.
string$
Optional attributes for defining windows in a graphics environment
-
Window has a minimize button.
c New window is a child of the window that launched it.
C Disables X close button on title bar of window and eliminates the
system control menu from the title bar.
m Enables "maximize" box in top right corner of window (only for
dialogue windows created with OPT="*").
S Window has Status line / Message Bar.
x Disables X close button on title bar of window and eliminates the
system control menu from the title bar.
X Enables X close button on title bar of window and supports the
system control menu on the title bar.
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.
ProvideX uses the WS_BORDER and WS_THICKFRAME frame styles from the
Windows API with the 'WINDOW' mnemonic. For more information, see Windows
Example
PRINT 'WINDOW'(5,5,100,40,"Title",OPT="-mSZ")