CRT Documentation: Reference

WhereX

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

Returns the X coordinate of the current cursor location.

function WhereX: integer;

Parameters

This function has no parameters.

Return Values

Returns the column number that the cursor is currently in. The left-most column is 1.

Remarks

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

See Also

Crt Overview, WhereY