VSCROLLBAR
PLBCMP GUI Only
The VSCROLLBAR instruction defines an object variable for a vertical scroll bar. The scrollbar is a free-standing scrollbar. Many objects have properties that add scroll bars that are an integral part of the control. VSCROLLBAR allows the addition of a scrollbar to an object or group of objects that do not have integrated scroll bars. To define a VSCROLLBAR, 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:
The minimum, maximum, and increment values are defined when the scroll bar is initially created.
Multi-dimension arrays are supported up to a maximum of fourteen dimensions.
The ^ denotes Pointer Variable.
Although a VSCROLLBAR may be defined as Global, it is DESTROYed during a CHAIN instruction.
This object is not available when using the PL/B Web Server.
See Also: Example Code, Object Definitions, Object Output Instructions
![]() |