Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 70
Registered: ‎08-10-2009
My Device: Not Specified

GaugeField - How to implement touch and drag of the scrub bar - 4.7

Using 4.7 API, what would be the best way to implement a touch and drag of the "scrubbar" to the desired location on the GaugeField ?

 

Right now, I captuer the TouchEvent.MOVE and I get the populated x coordinates of the MOVE points.

 

Don't quite know where to go from there

 

Ahmed

 

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: GaugeField - How to implement touch and drag of the scrub bar - 4.7

Are you trying to make your own or are you using the current GaugeField?

 

If you are using GaugeField then you just need to make the field as EDITABLE and FOCUSABLE.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.