开发者

Underline letter in a button

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.


Press Alt.

Those keyshortcuts are only working in combination with the Alt-Key, and therefor only show up if it is pressed.

Also there seem to be two ways to always show the Mnemonics:

  1. Change the Windows Desktop/Theme Settings:
    • Right Click Desktop -> Properties
    • Got to the Appereance Tab -> Effects
    • Uncheck "Hide Underlined letters for keyboard navigation until I press the ALT Key"
  2. Change the System-Parameters via an API-Call.
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜