the behaviour is so far correct. This is because Tab key has per default no function to toggle between embedded components (e.g. between text boxes). This is a very individual aspect of the particular GUI design.
If you want to handle the Tab key, you would need to explicitly add a Key Handler to the form (or more generic said: to the GUI component) and configure the handler to react to Tab key codes. Then you connect a slot method to the handler. The slot method is the executed when the handler receives the key Tab.
Within the slot method you implement then code to toggle between the text boxes. The selection of a GUI component is controlled by so-called focus (see also: Keyboard events and the focus path). When you want to toggle between two Editor components (named for example Editor1 and Editor2) you have to implement following code in the slot method:
if ( Focus == Editor1 )
Focus = Editor2;
else if ( Focus == Editor2 )
Focus = Editor1;
If there are more Text Editor components (or more focusable components), you can implement following code (for the used methods see: Enumerate and search views existing within the component):
// Starting with the actually focused component get the next focusable one
var Core::View nextView = FindNextView( Focus, Core::ViewState[ Enabled, Focusable ]);
// There are no fúrter components. Skip back to the first component
if ( nextView == null )
nextView = FindNextView( null, Core::ViewState[ Enabled, Focusable ]);
// Select the component
Focus = nextView;
The screenshot demonstrates how such GUI component is assembled. At the runtime the user can toggle between the Push Buttons:
I hope it helps you further.