开发者

How to prevent stealing focus when clicking on a usercontrol? [duplicate]

This question already has answers here: Is there a way to make a UserControl unfocussable? (6 answers) Closed 7 years ago.

I want to 开发者_运维知识库be able to click on my user control and not have it steal focus from any other control. I know when you click on a label it doesn't steal focus. How can this be done?


Try disabling your control's ControlStyles.Selectable flag.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜