我所有的Alt +键都无法在运行时运行 [英] All my Alt+key is not working in run time
本文介绍了我所有的Alt +键都无法在运行时运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我所有的Alt +键在运行时都不起作用,
因为我的Windows窗体中的所有文本都具有类似&Save",&Delete"等的内容.
但是当我运行程序时,我所有的快捷键都不起作用:(,
在Google中搜索,但我看不到有关我的错误的答案.我目前使用VB.NET 2008
All my Alt+key is not working in run time,
because all text in my windows form have something like this "&Save" , "&Delete" etc..
but when i run my program all my short-cut keys are not work :(,
search in Google but i cant see the answer about my bugs. i currently use VB.NET 2008
推荐答案
将UseMnemonic
设置为true
参考: http://msdn.microsoft.com/en-us/library/system.windows.forms.label.usemnemonic.aspx [
SetUseMnemonic
to true
Ref: http://msdn.microsoft.com/en-us/library/system.windows.forms.label.usemnemonic.aspx[^]
这篇关于我所有的Alt +键都无法在运行时运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文