%WS_GROUP
Define the start of a group of controls.
The first control in each group should also use %WS_TABSTOP style.
The next %WS_GROUP control in the tab order defines the end of this group
and the start of a new group.
%WS_TABSTOP
Allow the textbox control to receive keyboard focus when the user presses
the TAB and SHIFT+TAB keys.
The TAB key shifts keyboard focus to the next control with the %WS_TABSTOP style
and SHIFT+TAB shifts focus to the previous control with %WS_TABSTOP. (default)
Control Add Textbox , hDlg, %TxbCustom, "", 90, 30, 270, 14, %SS_CENTER Or %SS_CENTERIMAGE Or %WS_GROUP Or %WS_TABSTOP
Control Add Textbox , hDlg, %TxbSerial, "", 90, 60, 270, 14, %SS_CENTER Or %SS_CENTERIMAGE Or %WS_TABSTOP
Control Add Textbox , hDlg, %TxbDate , "", 90, 90, 270, 14, %SS_CENTER Or %SS_CENTERIMAGE Or %WS_GROUP Or %WS_TABSTOP
So start the group then add a tabstop to each control, it will then follow the order you place the controls until it reaches another group or you stop adding controls....simples...
as for the enter tab thing look at msdn and keydown events.
Bookmarks