MAINWINDOW


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

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:

 

(1)

[label]

MAINWINDOW

[%]

(2)

[label]

MAINWINDOW

^

(3)

[label]

MAINWINDOW

^,{target}

 

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:

  1. 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.

  2. The ^ denotes Pointer Variable.

 

 

See Also: Object Definitions, Object Output Instructions

 



PL/B Language Reference LISTVIEW MENU