BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-26-2009, 09:49 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 9530
PIN: N/A
Carrier: Telus
Posts: 107
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Control Type

Please Login to Remove!

Hello Everyone

Is there a way to find out which type of control is firing fieldChanged event in the fieldChanged method after implementing FieldChangedListener.

public void fieldChanged(Field field, int context)
{

}

Thanks
Offline  
Old 03-26-2009, 12:18 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2009
Location: Quebec, Ca
Model: 8330
OS: v4.5.0.77
PIN: 30293EF0
Carrier: Telus
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can try :

Code:
if (field instanceof YOUR_TYPE)
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

SIEMENS 1MB21213DA116AG3 EXPLOSION PROOF MOTOR - 60HP,3600,XP100,230/460,364TS
$1900.0
SIEMENS 1MB21213DA116AG3 EXPLOSION PROOF MOTOR - 60HP,3600,XP100,230/460,364TS  pictureSiemens ITE Bulldog Swith Plug BOS14352 60A 600V
$110.0
Siemens ITE Bulldog Swith Plug BOS14352 60A 600V pictureSIEMENS 3TC44 17-0BK2 DC CONTACTOR 3TC44170BK2 120V 60Hz 3TC4417-0B NEW
$440.0
SIEMENS 3TC44 17-0BK2 DC CONTACTOR 3TC44170BK2 120V 60Hz 3TC4417-0B NEW pictureSIEMENS ED43B045L SENTRON CIRCUIT BREAKER
$110.99
SIEMENS ED43B045L SENTRON CIRCUIT BREAKER pictureLandis & Gyr / Siemens PTM6.20250 Point Termination Module
$14.99
Landis & Gyr / Siemens PTM6.20250 Point Termination Module picture






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