Home › Forums › WinForms controls › Other WinForms controls › Selecting an item inside the comboBoxTool
I have a smartToolBar, i added a comboboxTool control to it, and i have 3 items inside the dropdown list… now i want to select the middle one, how do i do that programmatically?Is there a way?
comboBoxTool1.SelectedItem.Index = 1; // This pukes…
Imported from legacy forums. Posted by Artmic (had 2677 views)
Me.ComboBoxTool1.SelectedItem = Me.ComboBoxTool1.Items(0)
Imported from legacy forums. Posted by Thorsten (had 406 views)
Thank you ! i will try it out
Imported from legacy forums. Posted by Artmic (had 3494 views)