PC Review


Reply
Thread Tools Rate Thread

activate a button using any key instead of click

 
 
vijit prabhu
Guest
Posts: n/a
 
      2nd Sep 2010
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/tutorials...-and-norm.aspx
 
Reply With Quote
 
 
 
 
Cor
Guest
Posts: n/a
 
      2nd Sep 2010
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 news:(E-Mail Removed)...

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/tutorials...-and-norm.aspx

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activate Button Click shantanu Microsoft C# .NET 0 15th Jan 2009 02:35 AM
Disabling AutoPostBack on Button.Click() to activate Javascriptfunction maximz2005 Microsoft ASP .NET 1 13th Dec 2008 05:48 AM
activate a click onto a picture button Elton Microsoft VB .NET 4 6th Jul 2006 04:38 AM
Setting the mouse right click to activate an action button in a pp =?Utf-8?B?VG9iZXN0ZXI=?= Microsoft Powerpoint 0 15th Feb 2006 02:24 AM
any idea how to activate an ASPX page in another window by click on a button? Hrvoje Vrbanc Microsoft ASP .NET 1 27th Aug 2003 02:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:02 PM.