<<

Contents

Search

>>

 

SCROLLPANE_SET_SIZE

 

 

Function

 

 

Syntax:

SCROLLPANE_SET_SIZE(<Handle>,<Height in Rows>,<Width in Columns>,)

 

<Handle>

= <NUM-EXPRESSION>

<Height in Rows>

= <NUM-EXPRESSION>

<Width in Columns>

= <NUM-EXPRESSION>

 

 

Meaning:

Changes the size of a Scrollpane.

 

Attention: A REPAINT has to be executed in order to repaint the screen.

 

SCROLLPANE_SET_SIZE returns -1 if the Scrollpane specified by <Handle> does not exist otherwise 1 is returned.

 

Parameter:

Handle

Handle of Scrollpane

Height in Rows

Height of Scrollpane rectangle in rows

Width in Columns

Width of Scrollpane rectangle in columns

 

Sample:

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

 

...

 

H% = SCROLLPANE_SET_SIZE(HANDLE%,15,50)

 

See also:

SCROLLPANE

SCROLLPANE_SET_BACKGROUNDCOLOR

GET_SCROLLPANE_HANDLE

CLOSE_SCROLLPANE

EBUS_SCROLLPANE_MOUSE_COL

EBUS_SCROLLPANE_MOUSE_ROW

EBUS_SCROLLPANE_MOUSE_HANDLE

EBUS_SCROLLPANE_MOUSE_PANEL