共用方式為


ActionsPane.KeyPress 事件

發生於執行窗格擁有焦點,且按下按鍵時。

命名空間:  Microsoft.Office.Tools
組件:  Microsoft.Office.Tools.Common (在 Microsoft.Office.Tools.Common.dll 中)

語法

'宣告
Event KeyPress As KeyPressEventHandler
event KeyPressEventHandler KeyPress

備註

這個事件提供和 Control.KeyPress 事件相同的功能。 如需使用這個事件的詳細資訊,請參閱 Control.KeyPress

.NET Framework 安全性

請參閱

參考

ActionsPane 介面

Microsoft.Office.Tools 命名空間

其他資源

執行窗格概觀