That's actually not an easy problem to solve. When I'm creating some (desktop) UI that has multiple controls one being a text box, it always destroys the workflow (tab - next, tab - next, tab - indent.. crap..). I did not find a good solution for this so far.
Edit: Thinking about it.. maybe I'll try big G's version.
Edit: Thinking about it.. maybe I'll try big G's version.