Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon
Accepted Solution

Interactive GaugeField on the BlackBerry Storm

I just tried creating a editable GaugeField on my BlackBerry Storm, I used the EDITABLE constant and made sure there is enough room to select it. It doesn't work, does a interactive GaugeField only work on non-touchscreen devices?

 

If so has anyone modified the GaugeField so it will work on a touchscreen device?

Else what might I be doing wrong?

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo 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.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: Interactive GaugeField on the BlackBerry Storm

Has anyone ever editable GaugeFields on the BlackBerry Storm?

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo 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.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: Interactive GaugeField on the BlackBerry Storm

I realized thought about how it might be possible to make this interactive and realized that as a last measure before modifying the TouchEvent code should be trying to make the Gauge focusable because it doesn't seem to get focus. Added Field.FOCUSABLE and it worked.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo 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.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.