Auto-Advance to Next Control When Current Control is Full


The Text "+" directive causes the cursor to advance to the next control when the current control is full. In the case of the state text control below, the "2" in [%+%2.3state] defines the maximum number of characters that the control will accept.

ui_dlg_box("AutoAdvance Fields",<<%dlg%
When State and Phone fields are full, cursor automatically advances to next field.;
State: |[%+%2.3state];
Phone: |[%+%3.4areaCode]{sp=.5}- [%+%3.4Exchange]{sp=.5}- [%+%4.5Number];
Country: |[.40country];
<10&OK!ok> <10&Cancel!cancel>;


Desktop applications only

See Also