PrintPreviewDialog.ProcessTabKey(Boolean) PrintPreviewDialog.ProcessTabKey(Boolean) PrintPreviewDialog.ProcessTabKey(Boolean) PrintPreviewDialog.ProcessTabKey(Boolean) Method

定义

处理 Tab 键。Processes the TAB key.

protected:
 override bool ProcessTabKey(bool forward);
protected override bool ProcessTabKey (bool forward);
override this.ProcessTabKey : bool -> bool
Protected Overrides Function ProcessTabKey (forward As Boolean) As Boolean

参数

forward
Boolean Boolean Boolean Boolean

若要在窗体的控件中向前循环,则为 true;否则为 falsetrue to cycle forward through the controls in the form; otherwise, false.

返回

true 指示 Tab 键已成功处理;否则为 falsetrue to indicate the TAB key was successfully processed; otherwise, false.

继承者说明

重写此方法时, 控件应返回 true 以指示它已处理该键。When overriding this method, a control should return true to indicate that it has processed the key. 对于不是由控件处理的键, 返回此方法的基版本的结果。For keys that are not processed by the control, return the result of the base version of this method.

安全性

UIPermission
用于访问所有窗口。For access to all windows. 相关枚举:AllWindowsRelated enumeration: AllWindows

适用于