>I need to make them work in a text box so that wherever the cursor is
>sitting, if you click the back arrow it jumps the cursor back to the
>previous character. And same idea for forward arrow. Basically exactly what
>the arrow keys do then!

Look at the selstart and selend functions. You can get and set those. 
To simulate an arrow keys, just take the current values, add or 
subtract 1, and set them again with the new values.


-- 

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to