[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return Y (vertical) cursor position
Source position: crth.inc line 85
function WhereY: tcrtcoord; |
WhereY returns the current Y-coordinate of the cursor, relative to the current window. The origin is (1,1), in the upper-left corner of the window.
None.
|
Set cursor position on screen. |
|
|
Return X (horizontal) cursor position |
|
|
Create new window on screen. |
Program Example7; uses Crt; { Program to demonstrate the WhereX and WhereY functions. } begin Writeln('Cursor postion: X=',WhereX,' Y=',WhereY); end.