Blackberry custom slideshow-style BitmapField manager

Posted by Diego Tori on Stack Overflow See other posts from Stack Overflow or by Diego Tori
Published on 2010-04-27T19:48:47Z Indexed on 2010/04/27 19:53 UTC
Read the original article Hit count: 346

Filed under:
|
|
|

Right now, I'm trying to figure out how to implement the following:

Suppose I have a custom Manager that has about 10 or so BitmapFields layed out in a horizontal manner (similar to a slideshow contained in a HFM ) . What I want to achieve is to be able to move the image HFM via touchEvent horizontally, where a BitmapField would take focus on the left-hand side of the custom Manager. In other words, will I have to give a value to setHorizontalScroll and if so, is it a matter of just incrementing that value when the user makes a left or right touch event. Also, how can I get the focus of a Field within a given position on the screen (i.e. the left-most Field on the HFM) when the HFM is scrolling sideways via touchEvent?

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about storm