This documentation is archived and is not being maintained.

ContainerControl.ProcessTabKey Method

Selects the next available control and makes it the active control.

[Visual Basic]
Protected Overridable Function ProcessTabKey( _
   ByVal forward As Boolean _
) As Boolean
protected virtual bool ProcessTabKey(
 bool forward
protected: virtual bool ProcessTabKey(
 bool forward
protected function ProcessTabKey(
   forward : Boolean
) : Boolean;


true to cycle forward through the controls in the ContainerControl; otherwise, false.

Return Value

true if a control is selected; otherwise, false.


A control with its TabStop property set to false cannot be selected, so the next available control will be selected.


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

ContainerControl Class | ContainerControl Members | System.Windows.Forms Namespace | TabStop