Accelerator keys won't display on form load 
Author Message
 Accelerator keys won't display on form load

I'm able to duplicate this on several forms -- I make a winForm. Put a
simple button on it. Add an accelerator key (ie, for a NEXT button, I enter
&Next and it displays Next with the underscore character under the "N")

But when I run the project, the button appears w/o the assigned accelerator.
It's actually there because if I press Alt-N, the button fires AND the
underscore character now appears.

Is anyone else having this issue? I've updated my video drivers (I've got a
very good graphics card), and I also, just to make sure it wasn't hardware
acceleration, I turned that all the way off and there's not change in
behavior.

Todd M



Sun, 05 Sep 2004 09:02:36 GMT  
 Accelerator keys won't display on form load
This behavior started in Win2000 I believe.  I am not sure if there is
anywhere you can turn it off, but you will probably notice that as soon as
you hit the Alt Key, all of the mnemnonics show up.  This is Windows
behavior, and is not unique to VS .Net Applications.

--
Glen Kowalski STE
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights


Quote:
> I'm able to duplicate this on several forms -- I make a winForm. Put a
> simple button on it. Add an accelerator key (ie, for a NEXT button, I
enter
> &Next and it displays Next with the underscore character under the "N")

> But when I run the project, the button appears w/o the assigned
accelerator.
> It's actually there because if I press Alt-N, the button fires AND the
> underscore character now appears.

> Is anyone else having this issue? I've updated my video drivers (I've got
a
> very good graphics card), and I also, just to make sure it wasn't hardware
> acceleration, I turned that all the way off and there's not change in
> behavior.

> Todd M



Sun, 05 Sep 2004 09:11:01 GMT  
 Accelerator keys won't display on form load
To add to Glen's post, you can change this setting under Control Panel |
Display | Effects (tab) and there is a checkbox labeled "Hide keyboard
navigation indicators until I use the Alt key".

HTH,
Ben



Sun, 05 Sep 2004 09:16:06 GMT  
 Accelerator keys won't display on form load
Thanks a lot Ben and Glen. That worked. I never even knew that was there.

Todd


Quote:
> To add to Glen's post, you can change this setting under Control Panel |
> Display | Effects (tab) and there is a checkbox labeled "Hide keyboard
> navigation indicators until I use the Alt key".

> HTH,
> Ben



Sun, 05 Sep 2004 11:08:56 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Accelerator Key Display in Custom Menu

2. accelerator for controls on Powerpoint-slide won't work

3. User Forms, Command Buttons, Accelerator Keys

4. Mac Word 98 VBA won't load form

5. Mac Word 98 VBA won't load form

6. Child forms won't load in MDI with gradient fill

7. Child form won't load on top

8. Splash form won't display unless modal

9. Shortcut keys won't work in VB Dev't Environment

10. BMP's over 100k won't load into an OLE field

11. Custom control won't display and problems with building dll's

12. IE5.5 + OCX + web page won't display on some PC's

 

 
Powered by phpBB® Forum Software