[求助]\如何實快捷鍵?
如有控件command1我想實現當按下enter+ctrl時,相當於用鼠標點下command1
請問如何實現?
謝謝啦!
2005-03-16 15:08
2005-03-16 16:34
2005-03-16 16:49
将Form的KeyPrieview属性设为True(窗体最先发生键盘事件) Option Explicit
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyReturn And Shift = 2 Then MsgBox "按下了Ctrl+Enter", vbInformation, "提示" End If End Sub

2005-03-17 21:11
2005-03-18 08:15

2005-03-18 12:26
2005-03-18 16:24
2005-03-18 19:28
2005-03-19 09:08