Hot Keys..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
&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)
 
Back
Top