<<

Contents

Search

>>

 

DISABLE_TABCONTROL

 

 

Function

 

 

Syntax:

DISABLE_TABCONTROL(#<Mask Number>[,<Handle>]))

 

<Mask Number>

= <NUMBER>

<Handle>

= <NUM-EXPRESSION>

 

Meaning:

Disables a tab in the current tabcontrol.

 

The title in the index card tab is grayed and the mask cannot be jumped to anymore. If <Mask number> is the currently edited mask, error 7811 is reported. Not all masks of a tabcontrol can be disabled, at least one mask must remain active.

 

DISABLE_TABCONTROL returns the following values:

Error number

Meaning

0

-1

7803

7804

7811

The function has been executed successfully.

Current field not found.

No tabcontrol active.

The mask number does not exist in the tabcontrol.

The current mask cannot be disabled.

 

Parameter:

Mask Number

Number of mask

Handle

Window depth or handle of a split window or handle of a TABCONTROL.

 

Sample:

H% = DISABLE_TABCONTROL(#5)

IF H% <> 0

THEN … Error …

ENDIF

 

See also:

ENABLE_TABCONTROL

ACTIVATE_TABCONTROL

TABCONTROL