short cut key for tabpages of tabcontrol
-
In my windows form I have a tabcontrol with 3 tabpages. How can I add shotcut key so that while the tabcontrol is loaded I can visit each tab page through the shortcut key
Thanks & Regards
-
In my windows form I have a tabcontrol with 3 tabpages. How can I add shotcut key so that while the tabcontrol is loaded I can visit each tab page through the shortcut key
Thanks & Regards
Handle the KeyPress Event[^] of the form.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
Because programming is an art, not a science. Marc Clifton
I gave up when I couldn't spell "egg". Justine Allen -
In my windows form I have a tabcontrol with 3 tabpages. How can I add shotcut key so that while the tabcontrol is loaded I can visit each tab page through the shortcut key
Thanks & Regards
You can of course handle the events manually based on what the other CP member posted. One option that works with almost everything (not sure about tab pages), is to include an underscore before the appropriate letter in the tabpage letter. When the user presses Alt the underscores will show in the application and the appropriate letter can be sent with the alt statement.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog