GetPanel Method (STATUSBAR)


PLBCMP GUI Only

 

The GetPanel method retrieves a STATUSPANEL object from a STATUSBAR object. The method uses the following format:

 

[label]

{object}.GetPanel

[GIVING {return}] USING [*Key=]{key}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A STATUSBAR that is accessed.

return

Optional. A STATUSPANEL object that is returned.

key

Required. A Character String Variable or Numeric Variable that specifies the run-time name or zero-based position of the panel.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Use the TEST instruction on the {return} object to ensure a panel was returned.

  2. If the value returned is zero, the ZERO Condition Flag is set.

  3. The OVER and EOS Condition Flags are always cleared.

 

 

See Also: Method Syntax, STATUSBAR Methods

 



PL/B Language Reference AddPanel Method (STATUSBAR) RemovePanel Method (STATUSBAR)