If e.sender.value > e.Form.Controls("textbox2").value
If e.Form.Controls("CheckBox3").checked = True
Dim sp As New DotNetSpeech.SpVoice()
sp.rate = 6
sp.Speak("输入值大了", DotNetSpeech.SpeechVoiceSpeakFlags.SVSFlagsAsync)
End If
e.sender.text = 0
e.sender.Select()
Else
If e.Form.Controls("CheckBox3").checked = True
If e.sender.value > 0
sp.Speak(e.sender.value, DotNetSpeech.SpeechVoiceSpeakFlags.SVSFlagsAsync)
Else
sp.Speak("无成绩", DotNetSpeech.SpeechVoiceSpeakFlags.SVSFlagsAsync)
End If
End If
End If
老师,这是textbox4.leave事件,是利用它来录入学生某科成绩,我想在录入一个学生后回车就记录下移,继续输入,不用做下一位按钮,这样快速些,请问怎么办?