Solved

problems with VB.Net.

Posted on 2003-12-08
3
1,300 Views
Last Modified: 2012-08-14
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....
0
Comment
Question by:bluepearl
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 20 total points
ID: 9896121
If you have Windows XP, this is a setting:  Hide underlined letters for keyboard navigation until I pressed the Alt key.  This setting is under Display Properties | Effects.
0
 
LVL 4

Expert Comment

by:krznpsk
ID: 9897286
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.
0
 
LVL 27

Expert Comment

by:Dabas
ID: 9898542
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
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question