Put the following code into the on_click action of a button:
Example 5-10. Setting the taborder
hk_this.datasource().setmode_insertrow() hk_thisform.goto_taborder_first()
- set_focus(widget)
will set the focus to 'widget'
- set_taborder( taborder[,registerchange [, forcesetting]])
sets the tab order (the focus order) of the widgets. 'taborder' is a list of the presentation numbers of the widgets, which should get the focus
- goto_taborder_next()
will move the the focus to the next widget (see set_taborder( taborder[,registerchange [, forcesetting]]) )
- goto_taborder_previous()
will move the the focus to the previous widget (see set_taborder( taborder[,registerchange [, forcesetting]]) )
- goto_taborder_first()
will move the the focus to the first widget (see set_taborder( taborder[,registerchange [, forcesetting]]) )
- goto_taborder_last()
will move the the focus to the last widget (see set_taborder( taborder[,registerchange [, forcesetting]]) )