紧急!DTPicker 竟不支持回车按键的事件。如何解决? Private Sub DTPicker1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then txt.SetFocusEnd Sub 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Private Sub DTPicker1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then Command1.SetFocus End IfEnd Sub Private Sub DTPicker1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then sendkeys "{tab}" End IfEnd Sub 以上全错!!!!If KeyCode = 13 Then这句永不成立。不信你试试。有32(空格)事件,就是没回车。请看清题目。 Private Sub DTPicker1_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then Text2.SetFocus End IfEnd Sub好用呀 SORRY,是我弄错了,我捕的是KEYPRESS事件。多谢各位。结帐。 vbs FTP文件判断 关于隐藏快速启动区域的问题 关于VB的TEXT问题 #100#,如何使用TTS? 有谁能告诉我怎么备份sql server数据库? 求购批量相片上传控件 win API函数的区别(win xp 和win 2000)高难度!! vb怎么做视频会议啊??及!!!!!!!!!!!!! 用VBA语言获取电子表格中对行的选择(在线) VB读取PDF内容 关于MSFlexGrid1的问题!!!在线等待!! vb中怎么样打开、读写二进制文件?
If KeyCode = 13 Then
Command1.SetFocus
End If
End Sub
If KeyCode = 13 Then
sendkeys "{tab}"
End If
End Sub
这句永不成立。不信你试试。有32(空格)事件,
就是没回车。请看清题目。
If KeyCode = 13 Then
Text2.SetFocus
End If
End Sub
好用呀
多谢各位。
结帐。