Access key in VB menu

How can I assigna acces key to VB menu at runtime.

myMenu.Caption="&Test"

does not work. I can acces the menu via Alt-t, however the character T in Test is not underlined.

I need it, because I change menus captions from code.

Any ideas?
sasotAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
On windows 2000 or XP?

Open the "Display properties" (right-click your desktop and choose Properties), select the Effect tab, un-check the "Hide keyboard navigation indicators until I use the Alt key" option.
0
 
sasotAuthor Commented:
Thanks. I would never think of it.
Saso
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.