Link to home
Start Free TrialLog in
Avatar of bluepearl
bluepearl

asked on

problems with VB.Net.

I have few more problems with VB.Net. Please tell me how can this be solved.

1. In VB.NET, if I place Shortcut keys or hot keys for the Command Buttons then they are visible in the design time, but when the application is running and the form gets loaded the shortcut keys are not visible. But if is press the Alt key then the hot keys are visible. Why is this. How can we solve this.

2. In VB.Net, I have a tab control in the GUI, I am unable to set the shortcut keys for each tab. How to set shortcut keys for tabs in a tab control.

Thanks very much....
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krznpsk
krznpsk

Tab Controls are using navigated using Ctrl+1, Ctrl+2, etc... if you want a particular tab to be selected using shortcut keys, you might try implementing a menu item that, when selected, brings a particular tab to the front.
Ctrl+Tab takes you to the next tab.
You might want to make use of System.Windows.Forms.SendKeys to simulate the keystroke

Except for that, let me point out that you are asking two separate fairly advanced questions for just 20 points.
Also you seem to have over 20 unresolved questions, some of them dating all the way back to July!!!

At this rate, I do not think many experts will be ready to help you out any more

Dabas