How can I get at the coordinates of the beginning of the selected text
in a multiline edit field, relative to the edit field?
I am trying to pop up a small window near the location of the selected
text (kind of a long story, but they are tabbing through a block of
text, jumping from fill-in to fill-in, and the popup should appear near
the fill-in they are currently editing). Note that they have not
clicked there, so I can't use mouse coordinates.
The closest I have come is using lineNumAtCharPos by passing selstart
to it, but of course this varies with font size, etc.
I guess I am looking for XYAtCharPos, if such existed. Any suggestions?
Thanks.
Rich
Tampa, FL
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|