System.Windows.Forms.ContainerControl.ProcessTabKey Method

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

Syntax

protected virtual bool ProcessTabKey (bool forward)

Parameters

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

Returns

true if a control is selected; otherwise, false.

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0