<<

Contents

Search

>>

 

GET_SIZE$

 

 

Function

 

 

Syntax:

GET_SIZE$(<Type>,<Handle>)

 

<Type>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Returns the size of the window which is identified by <Handle>.

 

GET_SIZE$ liefert durch ";" getrennt die Größe des Fensters in Zeilen und Spalten.

 

If handle is neither a window depth nor a handle of a WINDOWCALL Window GET_SIZE$ return the empty string "".

 

If <Type> = 0 the size of the whole window is returned otherwise the size of the interior of the window is returned.

 

Parameter:

Type

0: The size of the whole window is returned.

<>0: The size of the interior of the window is returned.

Handle

Window depth or handle of a WINDOWCALL Window

 

Sample:

POS$ = GET_SIZE$(1,1)

ROWS = VAL(SUBSTR$(POS$,";",1))

COLUMNS = VAL(SUBSTR$(POS$,";",2))

 

See also:

GET_SPLIT_SIZE

GET_SCROLLPANE_SIZE

GET_TABCONTROL_SIZE

GET_MAINCOORDINATE

SET_SIZE

SET_LOCATION

GET_LOCATION$