ContainerControl.ProcessTabKey(Boolean) Method

Definition

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

protected:
 virtual bool ProcessTabKey(bool forward);
protected virtual bool ProcessTabKey (bool forward);
abstract member ProcessTabKey : bool -> bool
override this.ProcessTabKey : bool -> bool
Protected Overridable Function ProcessTabKey (forward As Boolean) As Boolean

Parameters

forward
Boolean

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

Returns

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.

Applies to

See also