×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    7

    Scoll the text in Combo box and list ..

    Hi i am using the combo Box and the list ..

    I want to know how can i scroll the text horizontally when i select the index in combo box..

    What is the property to set......help me..


    Thanks and regards
    Linuxgeek..

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Scoll the text in Combo box and list ..

    can you be a little more specific? what classes are you using, how, on which device?

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    7

    Re: Scoll the text in Combo box and list ..

    ComboBox comboBox = new ComboBox(arr);
    comboBox.setSelectedIndex(0);

    i am testing on Nokia 5130 ..
    the text in the combo box is more .
    half of the text is not visible .
    so i want to make the text scrpllable ..so that i can we entire text..

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Scoll the text in Combo box and list ..

    since combobox is not a lcdui class, i assume you are talking about lwuit combobox.
    A combobox is a list, which uses a listcellrenderer (by default a defaultlistcellrenderer).
    the defaultlistcellrenderer renders a label for each item.
    startticker is the label method to start the ticker is the text is too long.
    so basically, you change the listcellrenderer by extending a defaultlistcellrenderer that call startticker on the component before returning it.

Similar Threads

  1. how to move from list box to text editor on dialog box
    By manjunaths in forum Symbian User Interface
    Replies: 0
    Last Post: 2006-12-07, 10:13
  2. Replies: 1
    Last Post: 2006-11-24, 12:17
  3. Combo Box- Add List
    By Alicia_S60 in forum Symbian User Interface
    Replies: 5
    Last Post: 2004-11-15, 13:45
  4. Combo Box- Add List
    By Alicia_S60 in forum Symbian
    Replies: 0
    Last Post: 2004-11-15, 04:13
  5. Replies: 1
    Last Post: 2004-03-01, 08:37

Posting Permissions

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