|
|
When the user has finished entering data in one widget, the focus can be automatically moved to the next widget. This is called ``autonavigation''. The triggering of the callback for a widget is an indication to the application that the user has finished with that widget. In each widget callback, focus should be moved to the next widget. There are a set of standard SCOadmin procedures to implement this:
[VtGetValues $form -ok]to determine the widget name. In addition, focus should be set to the first widget. For example:
set focusList [list $widget1 $widget2 $widget3 $widget4] SaSetTabGroups $form $focusList lappend focusList [VtGetValues $form -ok] SaSetFocusList $form $focusList VtShowForm VtSetFocus [lindex $focusList 0]