设置按回车键等于按Tab键

在text1中输入数字后按回车跳到text2中输入……直到确定!Private Sub Text1_KeyPress(KeyAscii As Integer)If KeyAscii = 13 ThenText2.SetFocusEnd IfEnd Sub如果想设置回车键等于commond1_click怎么设置 Private Sub Text1_KeyPress(KeyAscii As Integer)If KeyAscii = 13 Thencall command1_clickEnd IfEnd Sub 回车键的KeyAscii 是13
新VB知识 | 2008-08-04 17:05 | 阅读 2923 次 | 评论 0 条
文章归档
最新评论