<<

Contents

Search

>>

 

GET_SCROLLPANE_SIZE

 

 

Function

 

 

Syntax:

GET_SCROLLPANE_SIZE(<Type>,<Handle>)

 

<Type>

= <NUM-EXPRESSION>

<Handle>

= <NUM- EXPRESSION >

 

Meaning:

Returns the current size of a Scrollpane in pixel.

 

<Handle> must contain the handle of a Scrollpane.

 

GET_SCROLLPANE_SIZE returns -1 if <Handle> is invalid or the Scrollpane does not exist.

 

Parameter:

Type

= 1:

Height of Scrollpane

= otherwise:

Width of Scrollpane

 

Handle

Handle of a Scrollpane

 

Sample:

SCROLLPANE_HANDLE% = SCROLLPANE(3,3,10,40,2,20,3,0)

H% = GET_SCROLLPANE_SIZE(1,SCROLLPANE_HANDLE%) // height of the Scrollpane in pixel

 

See also:

SET_SCROLLPANE_SIZE

GET_SIZE$

GET_SPLIT_SIZE

GET_TABCONTROL_SIZE

SCROLLPANE