关于VB的TEXT问题

wwwsssxxxqaz wwwsssxxxqaz 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我输入了






Private Sub Command1_Click()
Dim a As Integer
If Text2.Text > "1000" Then
Text2.SetFocus
Text2.Text = ""
Randomize
Select Case 1
Case 1
Label1.Caption = "简单难度"
End Select
Else
If Text2.Text > "300" Then
Select Case 1
Case 1
Label1.Caption = "普通难度"
End Select
Else
Label1.Caption = "困难难度"
End If
End If
If Len(Text2) > 4 Then
MsgBox "不必这么慢吧?"
End If
If Len(Text2) < 2 Then
MsgBox "太快了,把速度调慢点吧。"
End If
End Sub










然后在TEXT2中输入 200却提示说简单难度

再有就是输入10它不提示说"太快了" 请问高手如何解决?
...全文
评论 5
收藏 已收藏
分享
返回顶部
wwwsssxxxqaz
VB基础类 7,788 成员 197,583 内容