<<

Contents

Search

>>

 

SET_LOCATION

 

 

Function

 

 

Syntax:

SET_LOCATION(<Handle>,<Y Position>,<X Position>)

 

<Handle>

= <NUM-EXPRESSION>

<Y Position>

= <NUM-EXPRESSION>

<X Position>

= <NUM-EXPRESSION>

 

 

Meaning:

Moves the window specified by <Handle> to the absolute screen position <Y-Position>,<X-Position>.

 

<Y-Position> and <X-Position> are to be specified in screen pixel.

 

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

 

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

 

Parameter:

Handle

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

Y Position

Y Position in pixel

X Position

X Position in pixel

 

Sample:

H% = SET_LOCATION(EBUS_WDEPTH,10,10)

 

See also:

GET_MAINCOORDINATE

GET_LOCATION$

GET_SIZE$

SET_SIZE