With the SftMask.TabAdvance property, the Tab key moves the caret between the fields of the mask before it moves the input focus to the next control, so a user can type an IP address or a phone number and press Tab between its parts. Shift+Tab moves back the same way.
Tab moves the caret to the next field of the mask, as Ctrl+Right does, and Shift+Tab back to the end of the previous field, as Ctrl+Left does; in a numeric field, Tab also places the caret at the end of the number, where digits are typed. When the caret is at the end of the contents, the next Tab moves the input focus to the next control; Shift+Tab at the start of the contents moves it to the previous control. The SftMask.TabAdvanceLast property defines whether Tab stops at the end of the contents (the default) or moves the input focus on from the last field; Tab always moves into the last field first, also when it is a numeric field, whose caret is at the end of the contents.
Without a mask, the Tab key always moves the input focus.
C#
sftMask1.Mask = @"$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)"; sftMask1.TabAdvance = true; sftMask1.AutoAdvance = true;
VB
SftMask1.Mask = "$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)\.$I^03(0,255)" SftMask1.TabAdvance = True SftMask1.AutoAdvance = True
See also Auto-Advance and Auto-Tab.