To answer the original question - there is no direct way to do this, although you can use the text-extent to get the x offset of the caret fairly easily in a single line textfield.

On Jan 2, 2006, at 9:47 AM, Andreas Rønning wrote:

Is there a decent way of getting the _x / _y position of a caret in a text box? Somehow compare the x/y of the textfield with the caret index..?
Have a hard time getting an exact value from this.

- Andreas
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to