>is there a way to tell if the TAB key was pressed in a textbox.?
>'In the keypress event I used this code:
>
>if ASC(e.keychar) = 13 then ' 13 for enter key
>
>but the tab key wasn't recognized or didn't fire the event.
The ascii value of the tab key is 9. 13 is for enter key, like you have in your comment!
-Dave