Edit Box - AutoTab Property

AutoTab moves the cursor to the next control when the field is full

Member of Edit Box (PRIM_EDIT)

Data Type - Boolean

Details

The AutoTab property specifies whether the cursor should move to the next control when the field has been filled.

Example

Simple Form using AutoTab
Function Options(*DIRECT)
Begin_Com Role(*EXTENDS #PRIM_FORM) Height(139) Left(227) Top(218) Width(542) Clientwidth(526) Clientheight(100)
   Define_Com Class(#PRIM_CKBX) Name(#AutoTab) Caption('AutoTab?') Displayposition(2) Left(24) Parent(#COM_OWNER) Tabposition(3) Top(8) Width(249)
   Define_Com Class(#EMPNO.Visual) Name(#Empno) Autoselect(False) Caption('Employee Number') Displayposition(1) Height(25) Labeltype(Caption) Left(24) Marginleft(112) Parent(#COM_OWNER) Tabposition(1) Top(40) Width(209) Usepicklist(False)
   Define_Com Class(#SALARY.Visual) Name(#Salary) Autoselect(False) Displayposition(3) Height(25) Left(23) Marginleft(113) Parent(#COM_OWNER) Tabposition(2) Top(72) Width(210) Usepicklist(False)
 
   Evtroutine Handling(#AutoTab.Click)
 
      #Empno.Autotab #Salary.Autotab := (#AutoTab.ButtonState = Checked)
 
   Endroutine
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2