CRT Documentation: Reference

WhereY

[This procedure has changed from its original DOS version.]

Returns the Y coordinate of the current cursor location.

function WhereY: integer;

Parameters

This function has no parameters.

Return Values

Returns the row number that the cursor is currently in. The top-most row is 1.

Remarks

The return value is 1-based. This Delphi version of WhereY returns an integer rather than a byte.

See Also

Crt Overview, WhereX