×

Discussion Board

Results 1 to 3 of 3

Thread: ComboBox Render

  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    103

    ComboBox Render

    I am developing a simple mobile application in which we can store, retrieve, update data from & to RMS. In my application, I required to set the (selected) item dynamically for the ComboBox.
    I wrote the following bit of code for it,
    comboBox.setSelectedItem(<stringvalue>);
    but, at runtime the comboBox is rendered as usual with the first item be the selected item (not <stringvalue>). Pls, guide me------------

  2. #2
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: ComboBox Render

    Quote Originally Posted by neeraja.nokia View Post
    I am developing a simple mobile application in which we can store, retrieve, update data from & to RMS. In my application, I required to set the (selected) item dynamically for the ComboBox.
    I wrote the following bit of code for it,
    comboBox.setSelectedItem(<stringvalue>);
    but, at runtime the comboBox is rendered as usual with the first item be the selected item (not <stringvalue>). Pls, guide me------------
    You need to provide index as a paramiter in one method to achieve your goal. So first fetch the String value available in combox box then compare it with your string and if they are same then set the index for that String.

  3. #3
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    103

    Re: ComboBox Render

    Quote Originally Posted by honest_success View Post
    You need to provide index as a paramiter in one method to achieve your goal. So first fetch the String value available in combox box then compare it with your string and if they are same then set the index for that String.
    Thank u for reply, It works fine now

Similar Threads

  1. E60, N73 - Browser can really render the flash movies?
    By loressa in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2008-01-24, 12:42
  2. How to create a dialog having ComboBox
    By jennie in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-08-22, 17:58
  3. ComboBox in my FORM
    By donDonald in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-06, 03:27
  4. Replies: 1
    Last Post: 2006-03-06, 08:30
  5. Render FAX message and send it
    By jorge_c in forum Symbian
    Replies: 0
    Last Post: 2003-05-19, 11:32

Posting Permissions

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