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


Purpose   Restricts the screen position of the mouse cursor vertically.

Decln.    Confine_Mouse_Vert(Y1,Y2:byte);

Remarks   Y1, Y2 are the leftmost and rightmost Y coordinates.

          If the mouse is outside the confined coordinates when the
          procedure is called, the mouse is repositioned inside the nearest
          boundary as soon as any mouse activity occurs.

Example

BEGIN
    HIDE_MOUSE_CURSOR;
    CONFINE_MOUSE_HORIZ(20,60);
    CONFINE_MOUSE_VERT(5,15);
    SHOW_MOUSE_CURSOR;
END;

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