Circular Tabbing on a Form

Description

In many circumstances you will want to have the cursor return to the first tab stop on a form when the user presses TAB on the last tab stop on a form.

  1. Create an extra hidden control that is redefined as the last tab stop on the form. Do not set the hide property of the control. Change its color so that it blends into the form background.

  2. Add the following Xbasic script to the OnDepart event of the last visible tab stop on the form. Assume that the name of the object (not the field) that is the first tab stop is "author_id".

    author_id.activate()
images/UG_Circular_Tabbing.gif