ContainerControl.ProcessTabKey(Boolean) ContainerControl.ProcessTabKey(Boolean) ContainerControl.ProcessTabKey(Boolean) ContainerControl.ProcessTabKey(Boolean) Method

定义

选择下一个可用控件并使其成为活动控件。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

参数

forward
Boolean Boolean Boolean Boolean

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

返回

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

注解

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

适用于

另请参阅