BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 06-03-2005, 07:20 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default trackwheelClick

Please Login to Remove!

I've got my file that Implements TrackwheelListener, KeyListener, FieldChangeListener

in my fiel I have a boolean for the trackwheelClick
which creates the menus. However, when I try to click on my ButtonField, the menu pops up as well. How can I disable the menu from poping up ?
I also extend UiApplication.

Thanks.
Offline  
Old 06-04-2005, 04:20 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Sep 2004
Model: 8700r
Carrier: Rogers
Posts: 221
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The logic is:

if currentFieldWithFocus instanceof ButtonField
return false
else
return true
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

APPLE 630-0895-B VRAM 128K X 8 BOARD CARD VINTAGE
$249.99
APPLE 630-0895-B  VRAM 128K X 8 BOARD CARD VINTAGE pictureAPPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD >
$299.99
APPLE 820-0522-A 630-0895-B LITE VRAM 128K X 8 BOARD > picture






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