I'm trying to link up F1 help to an Actipro TabStrip control by handling the KeyDown event. I've selected the TapStripPage and double clicked on the KeyDown event in the list and added the following code to the event:
private void pgeButton_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.F1)
{
// Code to display help info in a webbrowser control
}
}
When the program runs, pressing F1 while the tab has focus (i.e. after I've just clicked on it) does absolutely nothing. Infact, I can't even get the program to do something simple like display a message box. Am I doing something wrong?
private void pgeButton_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.F1)
{
// Code to display help info in a webbrowser control
}
}
When the program runs, pressing F1 while the tab has focus (i.e. after I've just clicked on it) does absolutely nothing. Infact, I can't even get the program to do something simple like display a message box. Am I doing something wrong?