Please help me with the TAB character!
Posted on 2004-11-25
When you open notepad, and press the TAB button on the keyboard, it moves the cursor to some new place from its previous position (say 8 characters far from it). You can have the same effect when you press and hold Alt key, then type 09 and release all keys.
The same way, you can go to a new line, when you press the enter key, or when you type ALT+013 or ALT+010 (I know the difference of the last two.)
Now, go to the textarea right below here, where you can type an answer to my question!
The "Enter" button and ALT+013 are working correctly. ALT+010 is not working. I can suppose that I understand why it happens, though I can not understand it completely. But the main question is not that:
In the same textarea, if you press TAB key, you will be moved to the submit button; if you press ALT+09 it does not move the cursor; but if you copy and paste that empty space created by pressing TAB key in notepad area, you can have the same space inside the text area!
I want a way to create a same effect when typing inside a text area, without having to copy and paste this TAB-made space from another source.