<<

Contents

Search

>>

 

MOVE_PICTURE

 

 

Function

 

 

Syntax:

MOVE_PICTURE(<Image Name>,<New Row>,<New Column>,<Old Row>,<Old Column>[,<Handle>])

 

<Image Name>

= <STRING-EXPRESSION>

<New Row>

= <NUM-EXPRESSION>

<New Column>

= <NUM-EXPRESSION>

<Old Row>

= <NUM-EXPRESSION>

<Old Column>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Moves the image <Image Name> on screen from the old position <Old Row>,<Old Column> to the new position <New Row>,<New Column>.

 

<Old Row> and <Old Column> can be = 0. In this case the image is identified only by the name <Image Name>.

 

<Handle> specifies in which window the image is moved. <Handle> can contain the window depth or the handle of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the image is moved on the current window.

 

MOVE_PICTURE returns the following values:

 

0: Image has been moved

-1: Window not found

7500: Image not found

 

Parameter:

Image Name

Name of image

New Row

New row position

New Column

New column position

Old Row

Old row position

Old Column

Old column position

Handle

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

 

Sample:

H% = MOVE_PICTURE("Photo.gif",10.5,13.5,5.75,13.5)
IF H% <> 0

THEN … Error …

ENDIF

 

See also:

LOAD_PICTURE

REMOVE_PICTURE