|
-
Jul 26th, 2005, 07:59 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] No underline on hot keys
I have acommand button that I want to use alt+some key to fire the on_click event of that button. At design time, I am assigning the button text property as &Test. This underlines the T in the design view but when I run the app, the T is no longer underlined. The alt+T fires the on_click event but the user would not know that this is available without the underline. Am I missing a property somwhere?
-
Jul 26th, 2005, 08:55 AM
#2
Re: No underline on hot keys
That is caused by a Windows setting. You have to press the Alt key for the underlines to become visible, which is reasonable given that you have to press the Alt key to use the shortcut. You can turn this feature on and off within Windows, although I can't for the life of me remember where, but your app has no control over it as it is a system-wide setting.
-
Jul 26th, 2005, 08:56 AM
#3
Re: No underline on hot keys
Is your control's height sufficient to display this??
To switch the hidden property back on you need to open control panel, Display, Appearance and then Effects it's the last checkbox in this screen.
Last edited by dannymking; Jul 26th, 2005 at 09:01 AM.
Danny
Never Think Impossible
If you find my answer helpful then please add to my reputation
-
Jul 26th, 2005, 08:59 AM
#4
Re: No underline on hot keys
Found it. Control Panel -> Display, select the Appearance tab and click the Effects button. The option is "Hide underlined letters for keyboard navigation until I press the Alt key". I imagine that you could change a registry setting to affect this, but if the user wants to change it they should be allowed to change it themselves.
-
Jul 26th, 2005, 09:25 AM
#5
Thread Starter
Hyperactive Member
Re: [RESOLVED] No underline on hot keys
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|