MOVERECT
|
Syntax: |
MOVERECT(<Row>, <Column>,
<Height in Rows>, <Width in Columns>, <Width>, <New Row>,
<New Column>, <New Height in Rows>, <New Width in Columns> [,<Handle>])
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
Meaning: |
Moves a rectangle on screen which lies on position
<Row>,<Column> and has the size <Height in Rows>, <Width
in Columns> and the border width <Width>. If no rectangle is found
matching these paramaters MOVERECT returns -1. <Handle> specifies the window in which
the rectangle is to be drawn. <Handle> can contain the window depth or
the handle of a split window or a WINDOWCALL
window. If the parameter <Handle> is missing, the rectangle is drawn on
the current mask. MOVERECT returns –1, if a non-existent
rectangle is to be moved, otherwise it always returns 1. Attention: MOVERECT
has no effect when NOREPAINT is active. |
||||||||||||||||||||
|
Parameter: |
|
||||||||||||||||||||
|
Sample: |
/* Draw a red
rectangle on position (5.5,10.25) with size (10,20) and /* width = 3 pixel H% = DRAWRECT(5.5,10.25,10,20,3,255,0,0) ... /* Move the rectangle to position 7,12 H% = MOVERECT(5.5,10.25,10,20,3,7,12,10,20) |
||||||||||||||||||||
|
See also: |
|