[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Move_Mouse                                                      KeyTTT



Purpose   To reposition the mouse cursor.

Declaration    Move_Mouse(Hor,Ver:integer);

          Hor is the X coordinate (1..80)
          Ver is the Y coordinate (1..25)

Uses CRT, DOS, KeyTTT.

Remarks   This procedure is the functional equivalent of GotoXY for
          the text cursor.



Example


               USES CRT, DOS, KEYTTT;
               BEGIN
                 MOVE_MOUSE(40,13);
               END.


The mouse cursor is moved to the center of the display. See the file
MouseDem.pas on the distribution disk for a more detailed example.

See Also: Confine_Mouse_Horiz Confine_Mouse_Vert
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson