答案:Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Command1_Click
End Sub
其他:Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Command1_Click
End Sub
上一个:请问MAPIMessages在“部件”中显示为什么名称
下一个:text随便输入数字,通过按钮 ,使label里的文字发生改变(text中输入的)