Solved

Access key in VB menu

Posted on 2002-03-24
2
141 Views
Last Modified: 2010-05-02
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?
0
Comment
Question by:sasot
2 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 6892415
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
 

Author Comment

by:sasot
ID: 6892420
Thanks. I would never think of it.
Saso
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now