<<

Contents

Search

>>

 

GET_TABCONTROL_SIZE

 

 

Function

 

 

Syntax:

GET_TABCONTROL_SIZE(<Type>,<Handle>)

 

<Type>

= <NUM-EXPRESSION>

<Handle>

= <NUM- EXPRESSION >

 

Meaning:

Returns the current size of a Tabcontrol in pixel.

 

<Handle> must contain a window depth or the handle of a Tabcontrol.

 

GET_TABCONTROL_SIZE returns -1 if <Handle> is invalid or the Tabcontrol does not exist.

 

Parameter:

Type

= 1:

Height of Tabcontrol

= otherwise:

Width of Tabcontrol

 

Handle

Handle of a Tabcontrol

 

Sample:

TABCONTROL_HANDLE% = TABCONTROL(NOWAIT,...)

H% = GET_TABCONTROL_SIZE(1,TABCONTROL_HANDLE%) // height of the Tabcontrol in pixel

 

See also:

SET_TABCONTROL_SIZE

GET_SIZE$

GET_SPLIT_SIZE

GET_SCROLLPANE_SIZE

TABCONTROL