MAINWINDOW
PLBCMP GUI Only
The MAINWINDOW instruction gives a PL/B user program access to properties and events for the main window like one expects for other Window objects. To define a MAINWINDOW, use one of the following statement formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Data Label.
%
Optional. Denotes the item as being GLOBAL.
^
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:
This object can be used in the same manner as a WINDOW object except it is not supported for a CREATE or DESTROY statement. The compiler will give a compilation error if it is detected in a CREATE or DESTROY instruction.
The ^ denotes Pointer Variable.
See Also: Object Definitions, Object Output Instructions
![]() |