PANEL
8.7A, PLBCMP GUI Only
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
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.
Multi-dimension arrays are supported to a maximum of fourteen dimensions.
The ^ denotes Pointer Variable.
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:
The scrolling action only take places when the AUTOSCROLL property is set TRUE and the MINSCROLLH and MINSCROLLV properties have been initialized.
The scrolling action can only occur when the mouse pointer is located on the PANEL.
Although a PANEL may be defined as Global, it is DESTROYed during a CHAIN instruction.
See Also: Example Code, Object Definitions, Object Output Instructions
![]() |