<<

Contents

Search

>>

 

SET_SCROLLPANE_SIZE

 

 

Function

 

 

Syntax:

SET_SCROLLPANE_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.

 

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

 

Attention: This function has no effect if the Scrollpane is in a splitwindow. In this case the size of the Scrollpane is defined by the size of the splitwindow.

 

Parameter:

Handle

Handle of Scrollpane

Height in Rows

Height of Scrollpane in rows

Width in Columns

Width of Scrollpane in columns

 

Sample:

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

 

...

 

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

 

See also:

SCROLLPANE

SET_SCROLLPANE_BACKGROUNDCOLOR

GET_SCROLLPANE_HANDLE

CLOSE_SCROLLPANE

EBUS_SCROLLPANE_MOUSE_COL

EBUS_SCROLLPANE_MOUSE_ROW

EBUS_SCROLLPANE_MOUSE_HANDLE

EBUS_SCROLLPANE_MOUSE_PANEL

SET_SIZE

SET_TABCONTROL_SIZE