SPLITTER


8.7A, PLBCMP GUI Only

square.png Properties

square.png Events

square.png Instructions

 

The SPLITTER object allows the user to resize docked controls at run time. To define a SPLITTER, use one of the following statement formats:

 

(1)

[label]

SPLITTER

[%]

(2)

[label]

SPLITTER

(arraysize)

(3)

[label]

SPLITTER

^

(4)

[label]

SPLITTER

^,{target}

(5)

[label]

SPLITTER

^(arraysize)

(6)

[label]

SPLITTER

^(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 the user passes the mouse pointer over the SPLITTER object, the cursor changes to indicate that the object can be resized.

  2. The SPLITTER object allows the user to resize the docked object that has the same docking type and is immediately before it in ZORDER.

  3. To allow the user to resize a docked object, dock the object and then dock a SPLITTER to the same value.

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

  5. The ^ denotes Pointer Variable.

  6. Although a SPLITTER 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 SLIDER STATTEXT