Skip to main content

Button scrolling

1 reply [Last post]
sriramjava86
Offline
Joined: 2010-06-15
Points: 0

Hi,

I developed an J2ME application using LWUIT framework. I have a group of buttons my aim is to scroll the buttons in horizontal view, for that

i created a container with Boxlayout of X-axis and applied to that container as setScrollableX(true) and for my buttons i have names for each buttons.

When first button is focused iam getting the first button name also. when i select some other button then only button text(name) is visible.

Is there amy way to get the button text(name) when iam scrolling buttons, because my focused button is invisible when iam scrolling .I want to change the

button text based on my scroll.

Thanks in Advance,

Sriramjava86

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

Since scrolling is completely separate you would have a problem doing that.

It sounds like you are trying to accomplish a carousel style of UI which we usually use a list to implement. See the main screen in the tipster demo where we created a horizontal fisheye fixed list for the different occupation types.