![]() |
#2
yz10252013-01-21 10:05
|
想获取Text1.text中的数值,设置了一个整形的全局变量psd,但是执行下来该变量值始终是‘0’
“
Public psd As Integer
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
psd = Val(Text1.Text)
End If
End Sub
”
请问哪里出错了嘛?
谢谢