L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #1 点击Tab时让Form2.show; 用vk_Tab 出错,可能是我不会用吧!,请大侠看看
M melissa Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #2 你写在keydown还是keypress里了 或者你用api消息来做也可以
L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #3 谢谢,有没有源码,我写的时候出错,一时也讲不清楚,谢谢了
Z zlj555 Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #4 Form的KeyPreview设为True Form的KeyUp中 procedure TForm1.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key=9 then form2.show; end;
Form的KeyPreview设为True Form的KeyUp中 procedure TForm1.FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); begin if key=9 then form2.show; end;
S shenloqi Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #6 Form的KeyPreview设为True 好像这个一定要设置的
L laohe Unregistered / Unconfirmed GUEST, unregistred user! 2002-04-30 #7 谢谢,shenloqi/zlj555两位, 综合一下,刚刚好