try this, Set Forms' KeyPreview with true; On it's KeyPress Event, if(Key == VK_F2) //Do Something ___________ if wrong, please correct it. Best Regards, Juany Wu