STATUSPANEL


PLBCMP GUI Only

square.png Properties

 

The STATUSPANEL object represents a single panel in a STATUSBAR. A PL/B application can display various kinds of status information in the panel. To define a STATUSPANEL, use one of the following statement formats:

 

(1)

[label]

STATUSPANEL

[%]

(2)

[label]

STATUSPANEL

(arraysize)

(3)

[label]

STATUSPANEL

^

(4)

[label]

STATUSPANEL

^,{label}

(5)

[label]

STATUSPANEL

^(arraysize)

(6)

[label]

STATUSPANEL

^(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 STATUSPANEL object is not created using a CREATE statement.

  2. Internal status panels can be added to a STATUSBAR object using the AddPanel method.

  3. Internal status panels can be removed from a STATUSBAR object using the RemovePanel method.

  4. An internal status panel can be accessed by using the GetPanel method to retrieve a working copy of the internal status panel into a STATUSPANEL object. Once retrieved, the STATUSPANEL object can be used like any other object in a SETPROP, GETPROP, or DESTROY statement.

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

  6. The ^ denotes Pointer Variable.

  7. STATUSPANEL objects may not be added to a COLLECTION.

  8. Although a STATUSPANEL 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 STATUSBAR SUBMENU