Discussion:
VB6 Menu Shortcut Keys Not Functioning
(too old to reply)
Rob Mutchek
2007-07-27 20:44:02 UTC
Permalink
I am programming VB6 on XP and had to rebuild PC and reload my Visual Studio
6.0 afterwards.

Now when I create menu shortcut keys (using the & character) the shortcut
keys are not setup properly. 1) Only the top level of the menu shows the
underline of the shortcut letter. The Shortcut letters appear to work, but
are not underlines. This is the case whether I am in the IDE or if I complie
the application and run it separately from the Visual Studio environment. It
is also the case for pre-built sample programs I have pulled in from The old
VB6 Step By Step CD.

Also, when I create shortcut combinations (CNTRL + D, etc...) these shortcut
combinations do not work.

I removed and re-installed the Visual Studio 6.0 and the service packs.

When I run Word or Excel the standard shortcut keys are highlighted and work
normally.
--
Rob Mutchek
Bob Butler
2007-07-27 21:00:01 UTC
Permalink
Post by Rob Mutchek
I am programming VB6 on XP and had to rebuild PC and reload my Visual Studio
6.0 afterwards.
Now when I create menu shortcut keys (using the & character) the shortcut
keys are not setup properly. 1) Only the top level of the menu shows the
underline of the shortcut letter. The Shortcut letters appear to work, but
are not underlines.
But the underlines appear if you hold down ALT, right?
Post by Rob Mutchek
This is the case whether I am in the IDE or if I complie
the application and run it separately from the Visual Studio environment.
It
is also the case for pre-built sample programs I have pulled in from The old
VB6 Step By Step CD.
Somewhere in XP under the display settings is a flag for underlining the
shortcut keys. I know where it is in Win2K and Vista but don't use XP so
I'm not sure exactly where it is. Poke around in the display properties and
you should find it.
Post by Rob Mutchek
Also, when I create shortcut combinations (CNTRL + D, etc...) these shortcut
combinations do not work.
That I don't know about
Post by Rob Mutchek
I removed and re-installed the Visual Studio 6.0 and the service packs.
When I run Word or Excel the standard shortcut keys are highlighted and work
normally.
Those aren't standard sortcuts; Word & Excel do their own menus
Rob Mutchek
2007-07-27 21:50:03 UTC
Permalink
Bob,

Thanks. That addressed the underline of the letters in the menu items. By
the way under XP the path to the option is Control Panel>Display>Appearance
Tab>Effects Button. The option is "Hide underline letters for keyboard
navigation until I press the ALT key".

I am still working on the CNTRL + key issue.

Thanks again.
--
Rob Mutchek
Post by Rob Mutchek
I am programming VB6 on XP and had to rebuild PC and reload my Visual Studio
6.0 afterwards.
Now when I create menu shortcut keys (using the & character) the shortcut
keys are not setup properly. 1) Only the top level of the menu shows the
underline of the shortcut letter. The Shortcut letters appear to work, but
are not underlines. This is the case whether I am in the IDE or if I complie
the application and run it separately from the Visual Studio environment. It
is also the case for pre-built sample programs I have pulled in from The old
VB6 Step By Step CD.
Also, when I create shortcut combinations (CNTRL + D, etc...) these shortcut
combinations do not work.
I removed and re-installed the Visual Studio 6.0 and the service packs.
When I run Word or Excel the standard shortcut keys are highlighted and work
normally.
--
Rob Mutchek
Bob Butler
2007-07-27 22:01:52 UTC
Permalink
Post by Rob Mutchek
Bob,
Thanks. That addressed the underline of the letters in the menu items.
By
the way under XP the path to the option is Control
Panel>Display>Appearance
Tab>Effects Button. The option is "Hide underline letters for keyboard
navigation until I press the ALT key".
I am still working on the CNTRL + key issue.
do you mean CTRL+D? How are you configuring it?
I can't test on XP but it works fine for me on 2K and Vista

Continue reading on narkive:
Loading...