By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Hot Keys..

P: n/a
Hai can any one help in this following issue?

I am developing an VB Application in .NET. This application takes two different languages. One is English and other is the regional language. The Hot Key for triggering an event is working only when the language is set as English and it is not working when the language is set to the regional language.

I am preassuming the Hot Keys mean this...

If command button's caption is set as "&Add" then "ALT + A" will provide that functionality of clicking Add button. Am i correct( this is what is preassume to be Hot keys)

Is there any way to do it?

Also how can i give Keys such as "F8" for save , "F9" for delete in my application.

thanks,
V.Boomessh

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
&A would make ALT+A select the button. But, you cannot
set anything but ALT keys for buttons. You could however
create a hidden menu item that used a function key for a
shortcut, and display the presence of the shortcut by
setting the text of the button to "F8 Save". In the code
for the menu item call the click button for the button.
That's the easiest way to trap the function keys and
associate it with a button.
-----Original Message-----
Hai can any one help in this following issue?

I am developing an VB Application in .NET. This application takes two different languages. One is English
and other is the regional language. The Hot Key for
triggering an event is working only when the language is
set as English and it is not working when the language is
set to the regional language.
I am preassuming the Hot Keys mean this...

If command button's caption is set as "&Add" then "ALT + A" will provide that functionality of clicking Add
button. Am i correct( this is what is preassume to be Hot
keys)
Is there any way to do it?

Also how can i give Keys such as "F8" for save , "F9" for delete in my application.
thanks,
V.Boomessh

.

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.