HSCROLLBAR


PLBCMP GUI Only

square.png Properties

square.png Events

square.png Instructions

 

The HSCROLLBAR instruction defines an object variable for a horizontal 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. HSCROLLBAR allows the addition of a scrollbar to an object or group of objects that do not have integrated scroll bars. To define an HSCROLLBAR, use one of the following statement formats:

 

(1)

[label]

HSCROLLBAR

[%]

(2)

[label]

HSCROLLBAR

(arraysize)

(3)

[label]

HSCROLLBAR

^

(4)

[label]

HSCROLLBAR

^,{target}

(5)

[label]

HSCROLLBAR

^(arraysize)

(6)

[label]

HSCROLLBAR

^(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 an HSCROLLBAR 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 GROUPBOX HTMLCONTROL