Re: Cursor in Field

2001-01-07 Thread Mark Talluto

Thanks Dave.  That did the trick!

-Mark

 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/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: Cursor in Field

2001-01-06 Thread Dave Cragg

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/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Cursor in Field

2001-01-05 Thread Mark Talluto

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.

-Mark


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