Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.99 KB

autotab-property.md

File metadata and controls

52 lines (35 loc) · 1.99 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
AutoTab property
fm20.chm2000750
fm20.chm2000750
Office.AutoTab
36af6755-72d8-439a-2999-fc4224760529
11/15/2018
medium

AutoTab property

Specifies whether an automatic tab occurs when a user enters the maximum allowable number of characters into a TextBox or the text box portion of a ComboBox.

Syntax

object.AutoTab [= Boolean ]

The AutoTab property syntax has these parts:

Part Description
object Required. A valid object.
Boolean Optional. Specifies whether an automatic tab occurs.

Settings

The settings for Boolean are:

Value Description
True Tab occurs.
False Tab does not occur (default).

Remarks

The MaxLength property specifies the maximum number of characters allowed in a TextBox or the text box portion of a ComboBox.

You can specify the AutoTab property for a TextBox or ComboBox on a form for which you usually enter a set number of characters. Once a user enters the maximum number of characters, the focus automatically moves to the next control in the tab order. For example, if a TextBox displays inventory stock numbers that are always five characters long, you can use MaxLength to specify the maximum number of characters to enter into the TextBox and AutoTab to automatically tab to the next control after the user enters five characters.

Support for AutoTab varies from one application to another. Not all containers support this property.

See also

[!includeSupport and feedback]