BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-18-2011, 11:34 PM   #1 (permalink)
New Member
 
srismart's Avatar
 
Join Date: Apr 2011
Model: 9300
PIN: N/A
Carrier: vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Handling key events in Blackberry

Please Login to Remove!

Hi..
I am new to BlackBerry programming. I need to handle key events for my appplication. suppose alt+A, alt+ right arrow like that..
Could any body help me out .
Offline  
Old 04-19-2011, 08:38 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Handling key events in Blackberry

You can override keyChar(), keyUp(), keyDown(), etc in your Screen class.
Offline  
Old 04-20-2011, 12:33 AM   #3 (permalink)
New Member
 
srismart's Avatar
 
Join Date: Apr 2011
Model: 9300
PIN: N/A
Carrier: vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Re: Handling key events in Blackberry

Thanks for your responce.
But I need to find Alt + right arrow key events like if I press Alt key need to select some items in my application. when I release Alt key no need to select.
Is there any example that gives me an idea of how to find key press and key release events of Alt key.?
Offline  
Old 04-20-2011, 07:35 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: Handling key events in Blackberry

Look at the "status" parameter in keychar(). This value tells you the status of the shift and alt keys.
Offline  
Closed Thread


Thread Tools

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

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

Similar Threads for: Handling key events in Blackberry
Thread Thread Starter Forum Replies Last Post
Perform a cutover to another BlackBerry Enterprise Server in IBM Lotus Domino hdawg BES Admin Corner 3 04-25-2008 09:47 AM
8100 email reply shortcut dlbrock General 8100 Series Discussion - Pearl 2 01-20-2007 04:30 PM
BES 4.1 SP2 for Microsoft Exchange - Now Available jibi BES Admin Corner 51 01-10-2007 09:30 AM
BES 4.1 for Exchange - Now Available to TSupport Customers jibi BES Admin Corner 86 03-31-2006 11:06 AM





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.