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

如果在 ContainerControl 内的控件中向前循环,则为 true;否则为 falsetrue to cycle forward through the controls in the ContainerControl; otherwise, false.

Returns

Boolean

如果选择了一个控件,则为 true;否则为 falsetrue if a control is selected; otherwise, false.

Remarks

无法选择其 TabStop 属性设置为 false 的控件,因此将选择下一个可用控件。A control with its TabStop property set to false cannot be selected, so the next available control will be selected.

Applies to

See also