BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 06-03-2005, 08: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.

Old 06-04-2005, 05: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

The logic is:

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

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