UserControl Key事件不会触发? [英] UserControl Key events don't fire?

查看:55
本文介绍了UserControl Key事件不会触发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在UserControl中触发任何Key事件。

控件只包含几个标签。


这是非常烦人..


任何人都知道发生了什么事吗?


谢谢,


施耐德

I can''t get any of the Key events to fire in my UserControl.
The control only contains a few labels.

This is really annoying..

Anyone know whats going on?

Thanks,

Schneider

推荐答案

将表格'的KeyPreview属性设置为true?

" schneider" < 00 ** @ 0000.SPAM>在留言中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Is ths form''s KeyPreview property set to true?
"schneider" <00**@0000.SPAM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我可以我的UserControl中没有触发任何Key事件。
控件只包含几个标签。

这真烦人..

任何人知道发生了什么吗?

谢谢,

施耐德
I can''t get any of the Key events to fire in my UserControl.
The control only contains a few labels.

This is really annoying..

Anyone know whats going on?

Thanks,

Schneider



您正在发布在你遇到的每个小组中!你应该只发一次

并给它一些时间。当答案

位于中心位置时,其他人可能会从您的ONE帖子中受益,此外,其他10人不会浪费时间尝试

来回答已经发布的帖子别人回答。请发布

ONCE并等待你的回答。


" Jared" < VB *********** @ email.com>在消息中写道

新闻:10 ************* @ corp.supernews.com ...
You are posting in every group you come across!!! You should only post once
and give it some time. Others may benefit from your ONE post when the answer
is centrally located, furthermore, 10 other people won''t waste time trying
to answer a post that has already been answered by someone else. Please post
ONCE and wait for your answer.

"Jared" <VB***********@email.com> wrote in message
news:10*************@corp.supernews.com...
是形式'的KeyPreview属性设置为true?

" schneider" < 00 ** @ 0000.SPAM>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Is ths form''s KeyPreview property set to true?
"schneider" <00**@0000.SPAM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我无法得到我的UserControl中要触发的任何Key事件。
控件只包含一些标签。

这真烦人..

任何人都知道发生了什么事?

谢谢,

施耐德
I can''t get any of the Key events to fire in my UserControl.
The control only contains a few labels.

This is really annoying..

Anyone know whats going on?

Thanks,

Schneider




是的,

试过两个T / F.

Schneider

Jared < VB *********** @ email.com>在消息中写道

新闻:10 ************* @ corp.supernews.com ...
Yes,
Tried both T/F.

Schneider
"Jared" <VB***********@email.com> wrote in message
news:10*************@corp.supernews.com...
是形式'的KeyPreview属性设置为true?

" schneider" < 00 ** @ 0000.SPAM>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...
Is ths form''s KeyPreview property set to true?
"schneider" <00**@0000.SPAM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
我无法得到我的UserControl中要触发的任何Key事件。
控件只包含一些标签。

这真烦人..

任何人都知道发生了什么事?

谢谢,

施耐德
I can''t get any of the Key events to fire in my UserControl.
The control only contains a few labels.

This is really annoying..

Anyone know whats going on?

Thanks,

Schneider




这篇关于UserControl Key事件不会触发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆