WINDOW
PLBCMP GUI Only
The WINDOW instruction defines a window object variable. A WINDOW defines a subset of the screen. To define a WINDOW, use one of the following statement formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Data Label.
%
Optional. Denotes the item as being GLOBAL.
arraysize
Required. An integer decimal constant, CONST variable, or EQUATEd value indicating the number of array items.
^
Optional. Denotes the item as being a POINTER.
target
Required. The name of a previously defined data item of the same type.
Flags Affected: NONE
Note the following:
1. Multi-dimension arrays are supported up to a maximum of fourteen dimensions.
2. The ^ denotes Pointer Variable.
3. WINDOW objects support scrolling using a Mouse Wheel when the AUTOSCROLL property is TRUE. Please note the following for a scrolling action using a Mouse Wheel:
A. The scrolling action only take places when the AUTOSCROLL property is set TRUE for the WINDOW and the MINSCROLLH and MINSCROLLV properties have been initialized.
B. The scrolling action only occurs when the mouse pointer is located on the WINDOW.
C. While a GUI object on a WINDOW object has focus, the Mouse Wheel can cause WINDOW scrolling action.
4. Although a WINDOW may be defined as Global, it is DESTROYed during a CHAIN instruction.
See Also: Example Code, Object Definitions, Object Output Instructions
![]() |