文章详情
时间:2010-10-12 来源:ribut9225
pb窗口中用ENTER键切换焦点
1.定义外部函数
Subroutine keybd_event(int bVk,int bScan,ulong dwFlags,ulong dwExtraInfo) LIBRARY "user32.dll"
2.在窗口的Key事件中写下如下代码
IF key = KeyEnter! THEN
keybd_event(9,0,0,0)
keybd_event(9,0,2,0)
ENd IF
辰域智控app
网医联盟app
汇丰汇选App
1970-01-01