activate a button using any key instead of click

  • Thread starter Thread starter vijit prabhu
  • Start date Start date
V

vijit prabhu

hi!
m using VB 2008.
i created a button and wants that the code linked with the button when i move my mouse over the button and press a key other than enter or clicking. say i press up arrow.
how this can be done, also how can i do this if i waana press enter...

need some urgent help...

thakns vijir

Submitted via EggHeadCafe - Software Developer Portal of Choice
Custom Favorites Web Site with MongoDb and NoRM
http://www.eggheadcafe.com/tutorial...favorites-web-site-with-mongodb-and-norm.aspx
 
Very simple call the method in the click event

Click_Button1(nothing, nothing)

There are much nice alternatives but I've never seen where I needed that.

Cor

"vijit prabhu" wrote in message
hi!
m using VB 2008.
i created a button and wants that the code linked with the button when i
move my mouse over the button and press a key other than enter or clicking.
say i press up arrow.
how this can be done, also how can i do this if i waana press enter...

need some urgent help...

thakns vijir

Submitted via EggHeadCafe - Software Developer Portal of Choice
Custom Favorites Web Site with MongoDb and NoRM
http://www.eggheadcafe.com/tutorial...favorites-web-site-with-mongodb-and-norm.aspx
 
Back
Top