Auto-Advance to Next Control When Current Control is Full
Description
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.; {lf}; {region} Name:|[.40name]; State: |[%+%2.3state]; Phone: |[%+%3.4areaCode]{sp=.5}- [%+%3.4Exchange]{sp=.5}- [%+%4.5Number]; Country: |[.40country]; {endregion}; {line=1,0}; <10&OK!ok> <10&Cancel!cancel>; %dlg%)
Limitations
Desktop applications only
See Also