'WINDOW' or 'WA' |
Define/Draw Window |
GUI Display or Character Display
'WINDOW'(col,ln,wth,ht[,wdw_id],[title$][,attrib$][,OPT=val$])
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:
| ||||||||||||
wdw_id |
Window's unique ID number (0 - 255). |
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 or any other adornment (buttons or system menu icon) other than the title. These can be added by specifying the 'X' option.
PxPlus uses the WS_BORDER and WS_THICKFRAME frame styles from the Windows API with the 'WINDOW' mnemonic. See Windows API Frame Styles.
'DIALOGUE' Define/Draw Dialogue Region
'TEXTWDW' Create Text Window
print 'window'(5,5,100,40,"Title",opt="S")