在TextBox中限制只能输入数字
2006-02-27 21:09:20 来源:WEB开发网核心提示:参考下列程序:SubText1_KeyPRess(KeyAsciiAsInteger)IfKeyAscii<48OrKeyAscii>57ThenKeyAscii=0EndIfEndSub->
参考下列程序:
SubText1_KeyPRess(KeyAsciiAsInteger)
IfKeyAscii<48OrKeyAscii>57Then
KeyAscii=0
EndIf
EndSub->
SubText1_KeyPRess(KeyAsciiAsInteger)
IfKeyAscii<48OrKeyAscii>57Then
KeyAscii=0
EndIf
EndSub->
更多精彩
赞助商链接