求助,电机command2是提示数据类型错误
请帮忙找找错误,详细说明最好,先谢谢了
3D.rar
(5.89 KB)
Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii > 57 Or KeyAscii < 48 Then KeyAscii = 0 End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii > 57 Or KeyAscii < 48 Then KeyAscii = 0 End Sub …………
Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii > 57 Or KeyAscii < 48 Then Text1.text = "" End Sub Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii > 57 Or KeyAscii < 48 Then Text2.text = "" End Sub …………