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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
dcorb
Posts: 9
Registered: ‎07-28-2008
Accepted Solution

How can I use EventInjector.TrackwheelEvent to scroll right and left?

I need to simulate a wheel right and a wheel left action.

 

I have successfully used the following to scroll up and down:

 

EventInjector.TrackwheelEvent.THUMB_ROLL_UP

EventInjector.TrackwheelEvent.THUMB_ROLL_DOWN

 

Any ideas?

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: How can I use EventInjector.TrackwheelEvent to scroll right and left?

On trackwheel devices, using Alt + scrolling is used by many applications for left and right movement.

 

If you are targeting trackball devices, you can navigate in any direction by injecting an EventInjector.NavigationEvent event.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Developer
dcorb
Posts: 9
Registered: ‎07-28-2008

Re: How can I use EventInjector.TrackwheelEvent to scroll right and left?

Thank you!

 

I was confusing the trackball with the trackwheel. The NavigationEvent solved my problem.

 

 

Please use plain text.