HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

Auto-Tabbing

Using the fAutoTab field of the SFTMASK_CONTROL structure, the input focus can automatically be set to the next control on the dialog once valid input data has been entered and the entire contents are valid.

Example Input Mask: \([M1-9]##\) ###\-####

This mask allows input of a telephone number.

If fAutoTab is set to TRUE, typing 9415058600 would result in the following and the input focus advances automatically to the next control on the dialog:

If fAutoTab is set to FALSE, the input focus will never move to another control automatically.

The fAutoTab field is usually used with fixed masks (not numeric or date/time fields), so fewer keystrokes are required for data entry.

The NextControl or PrevControl functions can be used by an application to explicitly advance to the next control on the dialog.

The fTabAdvance and fTabAdvanceLast fields can be used to control the use of the Tab key within the masked edit control.

See Also Auto-Advance | Tabbing Within The Control | NextControl | PrevControl


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.