Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspRubMove

DspRubMove

Moves the rubber band selection to the new position. You need to first have defined a rubber band selection using the DspRubStart() and DspRubEnd() functions.

This function will erase the existing rubber band and then redraw it in the new position. You would normally move the rubber band by mouse input, but you can get input from the keyboard or any other Cicode to control the rubber band.

Syntax

DspRubMove(x, y)

x,y:

The x and y coordinates of the current position.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DspRubStart, DspRubEnd, DspRubSetClip

Example

See DspRubStart

See Also

Display Functions