Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. taalmod

    Problems with changing selected item in a combobox

    I can make it work, if I start by clearing the items, and then re-inserting them and selecting what I want, but it seems like a stupid solution to do that, just to change the selection. Does anybody have a more elegant solution? Brute force code that works: public void SetString(string name) {...
  2. taalmod

    Problems with changing selected item in a combobox

    I am writing an application, where I fill a combobox with strings and then select a value. Sometimes, I want to programmatically change to another value, but I cannot get that to work. Assignments to .Text or .SelectedItem does not work, and even if I start with setting the selectedIndex = -1...

Part and Inventory Search

Back
Top