ToolStripTextBox::AcceptsTab Property

 

Gets or sets a value indicating whether pressing the TAB key in a multiline text box control types a TAB character in the control instead of moving the focus to the next control in the tab order.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool AcceptsTab {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if users can enter tabs in a multiline text box using the TAB key; false if pressing the TAB key moves the focus. The default is false.

If the AcceptsTab property is set to true, the user must press CTRL+TAB to move the focus to the next control in the tab order.

The following code example demonstrates the syntax for setting various ToolStripTextBox common property settings, including the AcceptsTab property .

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: