<<

Contents

Search

>>

 

ACTIVATE_TABCONTROL

 

 

Function

 

 

Syntax:

ACTIVATE_TABCONTROL(<#Mask Number>[,<Field Number>[,<Handle>]])

 

<Mask Number>

= <NUMBER>

<Field Number>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

ACTIVATE_TABCONTROL selects tab <Mask Number> in the tabcontrol.

 

If a <field number> > 0 is specified, this field will be called.

 

ACTIVATE_TABCONTROL returns the following results:

Error number

Meaning

0

-1

7803

7804

7806

The function has been executed successfully.

The current window has not been found.

No tab control is active.

The mask number is not available in the tabcontrol.

The mask cannot be activated because it is locked.

 

Parameter:

Mask Number

Number of mask

Field Number

Number of field

Handle

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

 

Sample:

H% = ACTIVATE_TABCONTROL(#5)

IF H% <> 0

THEN …Error…

ENDIF

 

See also:

ENABLE_TABCONTROL

DISABLE_TABCONTROL

TABCONTROL