BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-29-2009, 02:18 AM   #1 (permalink)
New Member
 
Join Date: Jan 2009
Model: 8700g
PIN: N/A
Carrier: IT
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default get the cursor position

Please Login to Remove!

Hi frnds,

In my application, I involk Blackberry message to send emails and I have added a menu item to add recipient address from my application. Now I wanted to know the focus of cursor ,so that if focus is on To, contact shoud be added to To field. If focus is on Cc, contact shoud be added to Cc field. etc
Offline  
Old 04-29-2009, 03:24 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use the getFieldWithFocus() method of your screen class.
Offline  




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