PANEL


8.7A, PLBCMP GUI Only

square.png Properties

square.png Events

square.png Methods

square.png Instructions

 

The PANEL object can contain other objects just as a WINDOW contains other objects. To define a PANEL, use one of the following statement formats:

 

(1)

[label]

PANEL

[%]

(2)

[label]

PANEL

(arraysize)

(3)

[label]

PANEL

^

(4)

[label]

PANEL

^,{target}

(5)

[label]

PANEL

^(arraysize)

(6)

[label]

PANEL

^(arraysize),({target}),...,({target})

 

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. When an object is created in a PANEL, it is enabled, disabled, hidden, made visible, or destroyed when one of these actions take place on the panel.

  2. Multi-dimension arrays are supported to a maximum of fourteen dimensions.

  3. The ^ denotes Pointer Variable.

  4. PANEL objects support a Mouse Wheel to scroll when these objects are using the AUTOSCROLL property. Please note the following for a scrolling action using a Mouse Wheel:

    1. The scrolling action only take places when the AUTOSCROLL property is set TRUE and the MINSCROLLH and MINSCROLLV properties have been initialized.

    2. The scrolling action can only occur when the mouse pointer is located on the PANEL.

  5. Although a PANEL may be defined as Global, it is DESTROYed during a CHAIN instruction.

 

 

See Also: Example Code, Object Definitions, Object Output Instructions



PL/B Language Reference OBJECT PICT