VSCROLLBAR


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Instructions

 

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:

 

(1)

[label]

VSCROLLBAR

[%]

(2)

[label]

VSCROLLBAR

(arraysize)

(3)

[label]

VSCROLLBAR

^

(4)

[label]

VSCROLLBAR

^,{label}

(5)

[label]

VSCROLLBAR

^(arraysize)

(6)

[label]

VSCROLLBAR

^(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. The minimum, maximum, and increment values are defined when the scroll bar is initially created.

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

  3. The ^ denotes Pointer Variable.

  4. Although a VSCROLLBAR may be defined as Global, it is DESTROYed during a CHAIN instruction.

  5. This object is not available when using the PL/B Web Server.

 

 

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

 



PL/B Language Reference VARIANT WINDOW