PC Review


Reply
Thread Tools Rate Thread

how to trap arrowkeys in vb.net button control

 
 
raju
Guest
Posts: n/a
 
      29th Jun 2006
hai

I am having some buttons in my application, if i press right arrow
key then i want to run some code. But in button, we can't trap the
arrow keys.

I tried with form level keypreview property, But i can't get the
exact button, which i want to trap, it is working for form only.

I tried with processcmdkey, then i got some error message.

So, how to trap the arrowkey, when i press the button.


Any one can answer me. Thanks in advance.

 
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
How to trap User quitting by clicking on the X button or Exit Access menu button? Rick Microsoft Access 5 14th Feb 2008 08:03 PM
'Select' control problem using code behind class to trap 'Submit' button click TCook Microsoft ASP .NET 0 13th Aug 2006 05:26 PM
Using Control+ArrowKeys to move on a "word-by-word" basis in Calen =?Utf-8?B?RHJldw==?= Microsoft Outlook Calendar 0 17th Jun 2005 07:36 PM
How can I trap Click or MouseDown (left button) event on ScrollBar control? FU.U.NA Microsoft Dot NET Framework Forms 0 24th Mar 2004 10:45 PM
can't trap the action button event while moving over the items in the listview control Asheesh Microsoft Dot NET Compact Framework 0 11th Jul 2003 11:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 PM.