[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Set cursor position on screen.
Source position: crth.inc line 83
procedure GotoXY( |
X: tcrtcoord; |
Y: tcrtcoord |
); |
GotoXY positions the cursor at (X,Y), X in horizontal, Y in vertical direction relative to the origin of the current window. The origin is located at (1,1), the upper-left corner of the window.
None.
|
Return X (horizontal) cursor position |
|
|
Return Y (vertical) cursor position |
|
|
Create new window on screen. |
Program Example6; uses Crt; { Program to demonstrate the GotoXY function. } begin ClrScr; GotoXY(10,10); Write('10,10'); GotoXY(70,20); Write('70,20'); GotoXY(1,22); end.
lazarus-ccr.sourceforge.net |