ContainerControl.ProcessTabKey(Boolean) 方法
定義
選取下一個可用的控制項並使它成為作用中的控制項。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
順向循環 ContainerControl 中的控制項,則為 true
,否則為 false
。true
to cycle forward through the controls in the ContainerControl; otherwise, false
.
傳回
如果已選取控制項,則為 true
,否則為 false
。true
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.