Skip to main content

Windows Mobile scrolling

2 replies [Last post]
mfernan80
Offline
Joined: 2008-08-28
Points: 0

Hi all,

I'm testing LWUIT with Windows Mobile (Esmertec, J9 and PhoneME) and I see a very annoying behaviour when trying to scroll a Form or a drop-down long content. As I could see the only way to scroll is to 'drag-and-drop' with the pointer but no with scroll-bar. You can imagine how annying it is if many forms controls are painted on screen. Is teher any way to solve tis (that is, to only have scrolling via a side scroll bar).

Thanks and regards.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
khurrummehmood
Offline
Joined: 2006-04-06
Points: 0

this may not be relevant, could you help me with

http://forums.java.net/jive/thread.jspa?threadID=73982&tstart=0

thanks

Shai Almog

Hi,
currently we support gesture based scrolling on the whole screen to
allow smaller controls to be used in finger based touch screen UI's
which we deem as the way of the future. You can draw and modify the
scroll behavior in any way you choose and you can block that e.g. to
change the look of the scroll try this:
http://lwuit.blogspot.com/2008/08/pimp-my-lwuit-part-6-glasspane.html

To change the location of scroll sensitivity just look at Container/
Component who implement the gesture based scrolling. You can simply
override the pointerDragged/Pressed/Released methods and prevent
container/component from getting them unless they are in the area of
the scroll (then you should probably also disable smooth scrolling too).

> Hi all,
>
> I'm testing LWUIT with Windows Mobile (Esmertec, J9 and PhoneME)
> and I see a very annoying behaviour when trying to scroll a Form or
> a drop-down long content. As I could see the only way to scroll is
> to 'drag-and-drop' with the pointer but no with scroll-bar. You can
> imagine how annying it is if many forms controls are painted on
> screen. Is teher any way to solve tis (that is, to only have
> scrolling via a side scroll bar).
>
> Thanks and regards.
> [Message sent by forum member 'mfernan80' (mfernan80)]
>
> http://forums.java.net/jive/thread.jspa?messageID=295903
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@lwuit.dev.java.net
> For additional commands, e-mail: users-help@lwuit.dev.java.net
>

Shai Almog
http://lwuit.blogspot.com/

[att1.html]