在我放弃之前还有一个问题 [英] one more question before i give up
本文介绍了在我放弃之前还有一个问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨再次(在这里慢慢变得疯狂),
当我按下进入......按键事件没有被解雇......任何人都有一个
线索,为什么这是.....我一直在寻找MSDN,他们确切地说
我所做的......他们声称无论如何,如果有人知道为什么他们的按键事件(也不是keydown
事件)不管怎么办???
好吧当我按下输入时被解雇???
感谢
hi yet again (slowly going crazy here),
when i press enter......the keypress event doesn''t get fired....anyone has a
clue as for why this is.....i''ve been looking in MSDN and they do exactly
what I did....and they claim it works??!!
well anyway if anyone has any idea why they keypress event (nor the keydown
event for that matter) doesn''t get fired when i press enter???
thanks
推荐答案
当使用文本框和按钮时,父表单可能无法收到
按键。
可能有一些覆盖方法。
-
使用M2,Opera的革命性电子邮件客户端: http:/ /www.opera.com/m2/
When using text boxes and buttons, the parent form may not receive
keypresses.
There may be some override method for this.
--
Using M2, Opera''s revolutionary e-mail client: http://www.opera.com/m2/
好的,
所以现在我把KeyPress事件放在我所有的按钮....它仍然可以正常工作 .....除了输入键击
" Morten Wennevik" <莫************ @ hotmail.com> schreef in bericht
news:opryffvmvjhntkfz @ localhost ...
Ok,
So now I put the KeyPress event on all my buttons....and it still works fine
for every key.....except for the enter keystroke
"Morten Wennevik" <Mo************@hotmail.com> schreef in bericht
news:opryffvmvjhntkfz@localhost...
使用文本框和按钮时,父表单可能无法接收按键。
可能有一些覆盖方法。
-
使用M2,Opera的革命性电子邮件客户端: http://www.opera.com/m2/
When using text boxes and buttons, the parent form may not receive
keypresses.
There may be some override method for this.
--
Using M2, Opera''s revolutionary e-mail client: http://www.opera.com/m2/
仅为字符键生成KeyPress事件。 *输入*键不是
被视为如此。
如果你想按下* enter *键你必须使用KeyDown / Up
活动
HTH
B \ rgds
" ;黎明" <哒****** @ hotmail.com>在消息中写道
news:gC ******************** @ phobos.telenet-ops.be ...
Hi,
KeyPress event is generated only for character keys. *enter* key is not
considered as so.
If you want to catch pressing of *enter* key you have to use KeyDown/Up
events
HTH
B\rgds
100
"dawn" <da******@hotmail.com> wrote in message
news:gC********************@phobos.telenet-ops.be...
嗨再次(在这里慢慢疯狂),
当我按下进入......按键事件不会被解雇......任何人都有
a关于为什么这是.....的线索......我一直在寻找MSDN,他们确切地说我做了什么....他们声称它有效?? !!
>好吧无论如何,如果有人知道为什么他们按键事件(也不是
keydown事件)当我按下输入时不会被解雇???
感谢>
hi yet again (slowly going crazy here),
when i press enter......the keypress event doesn''t get fired....anyone has a clue as for why this is.....i''ve been looking in MSDN and they do exactly
what I did....and they claim it works??!!
well anyway if anyone has any idea why they keypress event (nor the keydown event for that matter) doesn''t get fired when i press enter???
thanks
这篇关于在我放弃之前还有一个问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文