BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-23-2008, 06:33 AM   #1 (permalink)
New Member
 
Join Date: May 2008
Model: 7100t
PIN: N/A
Carrier: tmobile
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to make the focus stay in my custom field

Please Login to Remove!

Dear all,
I customize a field extends from class Field, name it as "myfield". And I want to keep the focus in this myfield except for switching it by menu command. But as you know, when I move up or move down the trackwheel, the focus will go to the upper field or to the following field, and myfield lose it. Although I can get notification in method of "onUnfocus" before I lose it, but it's a little late for me, for example, there is no way for me to know the reason of losing focus was caused by trackwheel scroll or by "alt + trackwheel scroll".
Need your help, thanks!
sincerely
Ben
Offline  
Old 07-23-2008, 07:08 AM   #2 (permalink)
New Member
 
Join Date: May 2008
Model: 7100t
PIN: N/A
Carrier: tmobile
Posts: 10
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

My question has been resolved after I implemented the following method:
protected int moveFocus(int amount, int status, int time)
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

Lot of 4 Universal Triad Electronic Ballast (2) C2642UNVME (2) C213UNVME CF NEW
$36.99
Lot of 4 Universal Triad Electronic Ballast (2) C2642UNVME (2) C213UNVME CF NEW pictureLot of 3 Universal Triad C213UNVME CF Electronic Ballast NEW Kit w.Adaptor Plate
$25.99
Lot of 3 Universal Triad C213UNVME CF Electronic Ballast NEW Kit w.Adaptor Plate pictureLot of 3 Advance RMB-2P13-S2 2 Lamp Matchbox 2x13W CFL 4-Pin Mini Ballast NEW
$23.99
Lot of 3 Advance RMB-2P13-S2 2 Lamp Matchbox 2x13W CFL 4-Pin Mini Ballast NEW picture4 lamp t8 ballast box of 10 GE
$15.0
4 lamp t8 ballast box of 10 GE pictureLithonia 32-42TRT 6 MVOLT Recessed AFV 6 Inch CFL Downlight Frame & Ballast
$19.99
Lithonia 32-42TRT 6 MVOLT Recessed AFV 6 Inch CFL Downlight Frame & Ballast picture






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