At 9:21 PM -0800 5/1/01, Mark Talluto wrote:
>Hi to all.  I am trying to track the loc of the cursor in a field that is
>not locked.  I need to know at a minimum what line it is on while the user
>is typing.  Would someone please tell me how to do this?  Thanks a bunch.

Do you want to track the insertion point or the cursor/pointer?

If the cursor/pointer the the mouseLine functon in a mouseMove 
handler will return something like:

line 2 of field 3

If you need the text insertion point, then the selectedLine function 
in a keyUp (or rawKeyUp) handler will return an expression similar to 
the one above.

Cheers
Dave Cragg

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to