Alt+T

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

Guest

How do a process Alt+N on a windows form? Can I connect Alt+N to a button
with the caption 'Add&New'
 
Arne said:
I don't think it is possible unitil I find out how.
Do you know how?

Simply assign "Add &New" to the button's 'Text' property. Pressing Alt+N on
the form will raise the button's 'Click' event. This works fine in .NET
1.1.
 
Arne said:
Yes it works as long as you try to have two buttons with the same short
cut.

I am curious why you would want to have two buttons with the same
shortcut...
 
I have six different tab controls that goes in and out of focus on a form. I
had two similar buttons on two different tab controls. One button on a
visible tab control and one invisible button on an invisible tabcontrol.
 
Back
Top