KeyDown event fires twice with SSTab - Any work-around?
Posted on 1998-09-13
There is a bug with the SSTab which causes the KeyDown event to fire twice. I'm using VB 4 and the latest version of the SSTab control for VB 4. This bug is causing havoc with my program!! I have a form with a SSTab on it and when the user presses F2, I use the KeyDown event to show a modal dialog. Because of this bug, the dialog is actually shown twice!
How do I get around this problem? Note that the event only fires twice when the tabs at the top have the focus. A way around this problem could be to block the second event; but I am worried about future compatibility. For example, if a new version of the control is realeased which my end users have installed on their machine which doesn't contain the bug, the work-around could break my program.
Thanks for your help.