下划线字母 [英] Underline letter in a button
本文介绍了下划线字母的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的表单中,我有四个执行不同任务的按钮.这文本字段设置为& Next Project,因此N将带有下划线.在表单的预览中,其带有N下划线显示.然而当我运行程序时,显示的文本没有下划线.
In my form, I have four buttons that do different tasks. The button.Text field is set as &Next Project, so the N will be underlined. In the preview of the form, it shows up with the N underlined. Yet when I run my program, the text shows up with no underlining.
推荐答案
按 Alt .
这些快捷键只能与 Alt -Key组合使用,因此只有在按下该快捷键时才会显示.
Those keyshortcuts are only working in combination with the Alt-Key, and therefor only show up if it is pressed.
还有似乎是两种方式始终显示助记符:
- 更改Windows桌面/主题设置:
- 右键单击桌面->属性
- 转到外观"标签->效果"
- 取消选中隐藏带下划线的字母以进行键盘导航,直到按下ALT键"
这篇关于下划线字母的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文