GetTabCount Method (TABCONTROL)


PLBCMP GUI Only, 9.4C

 

The GetTabCount method retrieves the current number of tabs in a TABCONTROL object. The method uses the following format:

 

[label]

{object}.GetTabCount

[GIVING {count}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TABCONTROL object that is accessed.

count

Optional. A Numeric Variable into which the current number of tabs is stored.

Flags Affected: EOS, OVER, ZERO

Note the following:

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

  2. The OVER Condition Flag is set if the {return} value is too large to be stored without truncation.

  3. The EOS Condition Flag are always cleared.

 

 

See Also: Method Syntax, TABCONTROL Methods

 



PL/B Language Reference GetStyle Method (TABCONTROL) GetTabImage Method (TABCONTROL)