09-01-2010 02:40 AM
HelloGuys,I have Listfield which contains no of elements ,in my app,In NonTouch device i can go to the bottom element in the listfield.but in storm device,how can i carry out scrolling,when i try to scroll,i get a click,how can make it scroll?
I use navigation click to get the click event.How could i make a differentiation between scrolling and clicking?
09-18-2010 12:31 PM
Hmm I'm assuming your using the device simulator. The Blackberry Torch is know to have code differences in the click and touch feel. I suggest using the 9530/50 for your touchEvents. For the simulator (depending on your settings of course) right click is touch and left is click.
All your events should not be covered by navigation click. All the events are sent to TouchEvent. If your using a blackberry API component you shouldn't have to worry about implementing this function.
This is a great article i found on the web for touch devices
09-20-2010 01:25 AM
Hi ,Thanks for your inputs,i can recogonise the touch events such as click,move in normal verticalfieldManger or MainScreen,But the listfield is not scrolling even though i get the move event.The list event does not scroll the elements in the ListField,
ListField is not implementing its scrolling for touch devices,i think So.What can be done for it?
09-21-2010 12:47 AM - edited 09-21-2010 12:48 AM
Hmmmm. Maybe you could create a vertical manager that contains your listfield(s) and then put the virtualExtent as the (number of listfields)*(height of each listfield). This would allow you to position the manager (or field(s)) anywhere on the screen by using setPosition and the total extent (or number visible fields) presented on the screen by setExtent.
09-21-2010 02:24 AM
what i mean to say is if you are testing on simulator then focus or scrolling is achieved by right mouse button and click is achieved by left mouse button.
so if you are trying to scroll by left mouse button it is not scrool but a swipe.
try and let me know
09-21-2010 03:39 AM - edited 09-21-2010 03:43 AM
09-21-2010 05:58 AM - edited 09-21-2010 06:21 AM
Thanks Guys,I can get the listfield scrollable,
But the problem that i face is during the implementation of navigation click,When i try to scroll the list field,click is also implemented which results in click action rather than scrolling action.How could i differentiate it?