看板 Visual_Basic 關於我們 聯絡資訊
請問一下為什麼當我案上鍵盤的某個鍵卻不會執行呢? 例如: Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) cursor_x = X cursor_y = Y End Sub If cursor_x > 2880 And cursor_x < 3255 And cursor_y > 240 And cursor_y < 615 Then Command1.Enabled = True End If If Command1.Enabled = True Then If KeyCode = 13 Then Command1.Value = True End If End If -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.135.139.199
fumizuki:什麼某個按鍵...鍵盤滑鼠事件是分開的... 210.58.156.43 05/26
fumizuki:下面兩段 if 你是放在哪? 210.58.156.43 05/26