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.

適用於

另請參閱