Export (0) Print
Expand All

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
[C#]
protected virtual bool ProcessTabKey(
 bool forward
);
[C++]
protected: virtual bool ProcessTabKey(
 bool forward
);
[JScript]
protected function ProcessTabKey(
   forward : Boolean
) : Boolean;

Parameters

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

Return Value

true if a control is selected; otherwise, false.

Remarks

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

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

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

Show:
© 2014 Microsoft