<<

Contents

Search

>>

 

SET_SIZE

 

 

Function

 

 

Syntax:

SET_SIZE(<Type>,<Handle>,<Rows>,<Columns>)

 

<Type>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

<Rows>

= <NUM-EXPRESSION>

<Columns>

= <NUM-EXPRESSION>

 

 

Meaning:

Changes the size of the window specified by <Handle>. 

 

<Rows> and <Columns> defines the new size of the window in rows and columns.

 

<Handle> specifies the window that shall be resized. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window.

 

SET_SIZE returns the result 1 if the window <Handle> exists, otherwise –1.

 

Parameter:

Type

0: <Rows> and <Columns> specify the size of the whole window.

<>0: <Rows> and <Columns> specify the size of the interior of the window.

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

Rows

Height of the window in rows

Columns

Width of the window in columns

 

Sample:

H% = SET_SIZE(EBUS_WDEPTH,20,70)

 

See also:

MAINSIZE

SET_MAINSIZE

SET_SCROLLPANE_ SIZE

GET_MAINCOORDINATE

GET_SIZE$

GET_SPLIT_SIZE

GET_SCROLLPANE_SIZE

SET_LOCATION

GET_LOCATION$