Is it possible...

Discussion in 'Questions (Windows Mobile)' started by skipper, Jan 7, 2008.

  1. skipper

    skipper Member Licensed User

    Hello everybody!

    just a little question. Is it possible to reset the SelectedIndex of a ComboBox to the initial value of -1?

    Many thanks for the help

    Mimmo
     
  2. Cableguy

    Cableguy Expert Licensed User

    Not as an index value of -1, but it is possible to show an empty string..
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    You can remove the SelectedIndex item (with RemoveAt) and then insert it.
    It will reset the SelectedIndex property to -1.
     
  4. skipper

    skipper Member Licensed User

    Many thanks to both !
    Both the suggestions work fine for me!
    Mimmo
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice