Export (0) Print
Expand All

Panel.TabStop Property

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

[Visual Basic]
Public Shadows Property TabStop As Boolean
[C#]
public new bool TabStop {get; set;}
[C++]
public: __property bool get_TabStop();
public: __property void set_TabStop(bool);
[JScript]
public hide function get TabStop() : Boolean;
public hide function set TabStop(Boolean);

Property Value

true if the user can give the focus to the control using the TAB key; otherwise, false. The default is false.

Remarks

When the user presses the TAB key, the input focus is set to the next control in the tab order. Controls with the TabStop property value of false are not included in the collection of controls in the tab order. The tab order can be manipulated by setting the control's TabIndex property value.

Note   The TabStop property has no effect on the Panel control as it is a container object.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Panel Class | Panel Members | System.Windows.Forms Namespace

Show:
© 2014 Microsoft