ocx 里触发Image1_Click事件
我想在ocx 里面支持回車跳格。但Image1_Click 好像不行?怎么回事?
Private Sub Text1_KeyPress(KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then
SendKeys "{Tab}", True 这里没问题!
End If
End Sub
Private Sub Text2_KeyPress(KeyAscii As MSForms.ReturnInteger)
If KeyAscii = 13 Then
Image1_Click 这里 没反应?怎么回事?
End If
End Sub