DeleteTab Method (TABCONTROL)


PLBCMP GUI Only, 9.4C

 

The DeleteTab method removes a tab from a TABCONTROL object. The method uses the following format:

 

[label]

{object}.DeleteTab

[GIVING {return}]:

 

 

USING [*Index=]{index}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TABCONTROL object that is accessed.

return

Optional. A Numeric Variable whose value indicates the success or failure of this method.

index

Required. A decimal number or Numeric Variable whose value identifies the position of the tab to remove.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. The {index} is a zero relative value.

  2. If the method executes successfully, the {return} value is non-zero.

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

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

  5. The EOS Condition Flag are always cleared.

 

 

See Also: Method Syntax, TABCONTROL Methods

 



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