Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb_dotnet thread: Re: process menu shortcut on keyup instead of keydown


Message #1 by "Phillip Johnson" <philliptjohnson@h...> on Wed, 12 Feb 2003 13:18:53
Cant you just remove the actual shortcut from the menu, but have code in 
the forms keyup event handler.  Check the keycode of the key that is being 
released and if its the F3 key, run the code that would have fired from 
the menu.  You will need to set the forms keypreview property to true for 
this.

hope this info helps.

Phillip

> when you set the F3 shortcut to a menu item, that menu item is fired 
when the user keysdown. how can i change this functionality to fire when 
the user keysup instead. any help or ideas would be nice, thank you. if 
you need me to explain further let me know.

  Return to Index