Should the Alt Key raise a KeyUp event? In an application that I am working on I need to trap the event for when the Alt key is released.
Thanks
KeyUp Event
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi histry,
As told in this MSDN's page you can do something like this:
And then do a Alt+C (or whatever).
With Alt key alone you can use:
As told in this MSDN's page you can do something like this:
Code: Select all
private void tChart1_KeyUp(object sender, KeyEventArgs e)
{
MessageBox.Show(e.Alt.ToString());
}
With Alt key alone you can use:
Code: Select all
private void tChart1_KeyUp(object sender, KeyEventArgs e)
{
MessageBox.Show(e.KeyValue.ToString());
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |