0
請原諒我,如果這是不可能的,這裏的情況。make program按回車鍵上的文本框重點
我有2個文本框,我在textbox1上鍵入一些內容並按下回車鍵,文本進入文本框2,程序按下文本框2上的回車鍵(用戶不會按回車鍵)。
下面是我在textbox1_keydown
if e.keycode = keys.enter then
str = textbox1.text
textbox2.focus()
textbox2.text = str
'Make textbox2 press the enter key here, without user pressing it on keyboard
end if
第二進入新聞界去在TextBox2中的下一行? – 2014-08-30 01:53:41
這是一個Windows窗體程序嗎? – 2014-08-30 02:10:52
@JohnSaunders是的。 – sabre 2014-08-30 02:12:33