Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3762

How to get CharacterPosition for WebTextArea?

$
0
0

I am trying to convert TTsDIFF from Desktop to Web and it requires getting the CharacterPosition for a given x,y within a WebTextArea, but WebTextArea has no CharacterPosition method e.g.

Dim x, y, d, pos, pos2 As Integer
pos2 = editf.CharacterPosition(x, y)

Is there a workaround for getting the CharacterPosition for a WebTextArea?

FWIW, in API1 it used to be called editf.CharPosAtLineNum(x) and editf.CharPosAtXY(x, y).

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3762

Trending Articles