• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

accelerators

I added accelerators  to my buttons in a winform app, however they don't show (the underline under the accelerator letter).  When i alt-tab to another app then alt-tab back to my app you can see them... Why cant i see them when the form first loads??

Im using Win XP and VS 2003 if that matters.
0
flavo
Asked:
flavo
  • 3
  • 3
2 Solutions
 
burakiewiczCommented:
they don't show up until the alt button is pressed. Not sure how to get them to show up without hitting alt first
0
 
PaulHewsCommented:
Right click on desktop, select properties.  Effects tab, uncheck "Hide keyboard navigation indicators until I press the Alt key."  This is a feature of Windows and has nothing to do with the setup of your accelerators in VS.
0
 
flavoAuthor Commented:
As much as it sickens me, i used

 SendKeys.Send("%")

at the end of my Form_Load events.

Works, but still very disapointed i had to resort to sendkeys....
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
PaulHewsCommented:
If it was me, I would just go with the Windows standard... If people want to see the accelerators, they either press tab or they uncheck the setting in the doothingy effects Tab.  It's better for your program to behave the same way as other programs that they use, than to try and buck the system (and use sendkeys....) for your personal preference.

0
 
flavoAuthor Commented:
Ill talk to the client and see what he wants..

Thanks Guys!

Dave
0
 
PaulHewsCommented:
Thanks for the points, flavo.  :)
0
 
flavoAuthor Commented:
Thank you!
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.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now