Disable Double Click on a menu
Posted on 1998-12-20
In VB3 I have tried to disable a doubleclick on a menu because this menu option is the "Finish" option and as such it unloads the form, however the the "2nd click" of the double click causes the form to be reloaded.
I have tried to disable the "2nd click" by
1) Immediately disabling the form in the click event
2) Setting up a static variable that exits the sub if the variable has already set (which it is the first time the event is entered)
3) used the API command GetInputStatus% & if this is true I have exited the routine without doing any processing at all in the hope that the second click will process the code instead - however the GetInputStatus% returns a false and so this option was not able to be used.
Any Ideas? Do you even understand the question?