property HTML.XYToPosition (X as Long, Y as Long)
as Long
Converts the (x,y)-coordinates (column,line) to cursor position.
Type
Description
X as Long
A long expression that indicates the x-coordinate or the column.
Y as Long
A long expression that indicates the y-coordinate or the line.
Long
A Long expression that indicates the cursor position.
The XYToPosition property gets the cursor position giving the
(x,y)-coordinates (column,line). The
SelStart returns or sets the starting point of text
selected. In other words, if no text is selected, The
SelStart and CursorPos indicates the position of the insertion point ( equivalent ). The ClientPos property returns the position of the mouse pointer inside the text.
The CursorPos property returns or sets the position of the cursor inside the text.
The PositionToXY property converts the cursor position to
(x,y)-coordinates (column,line). The PositionToX
property converts the cursor position to x-coordinate (column). The PositionToY
property converts the cursor position to y-coordinate (line).