Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2013

    how we make List scrollable which add in Container

    hello. I am using nokia sdk2.0 using lwuit 1.5.Now my problem is that i have lwuit list of 50 items ,when i add this list in container then my list not scroll but when I set the property of container true for scroll that time list is scrolling but i don't want to scroll container i want scroll only list. My code is give below tell me how it is possible
    My code is
                    Form f=new Form();
    		f.setLayout(new BorderLayout());
    Container con=new Container();
    final List list=new List();
    		list.setRenderer(new MyRendered());
    for (int i = 0; i < 50; i++)
    			list.addItem("THE GROOVE");
    Button button=new Button(Image.createImage("/map.PNG"));
    please suggest me how we make only list scrollable

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Ahmedabad, Gujarat, India

    Re: how we make List scrollable which add in Container

    Hello Vikranttanwar@,

    Best way would be to make a parent container or main container, then place you components inside that container,
    wrap you list inside one more container , set the scroll property to true, place this container inside your main container and things will work as you want.

Similar Threads

  1. scrollable container problem
    By dinesh547 in forum Symbian User Interface
    Replies: 1
    Last Post: 2011-08-01, 10:34
  2. Scrollable CEikImage on a Container
    By stavrospapa in forum Symbian
    Replies: 3
    Last Post: 2009-01-28, 13:12
  3. scrollable container example...
    By GeKI in forum Symbian User Interface
    Replies: 3
    Last Post: 2007-12-05, 11:13
  4. S60's equivalent to UIQ scrollable container?
    By yjzhang in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-09-29, 12:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts