|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
combobox itemsHi evry one,
I want to build a group of comboboxs that have 3 to 6 items but initially i want them to start blank on run time, And show the first item when I press a command button i.e. Each combobox shows it's first item(0). thanks. elwaly wrote:
> Hi evry one, I believe you do:> I want to build a group of comboboxs that have 3 to 6 items but > initially i want them to start blank on run time, And show the first > item when I press a command button i.e. Each combobox shows it's > first item(0). > thanks. > Combobox.SelectedIndex = -1 You may have to do a: ComboBox.SelectedText = String.Empty Then when your hit your button you do: Combobox.SelectedIndex = 0 Hope it helps Chris Hi,
You may try this. Double click on the command button and in its event add line like combobox.items.add("your desired text"). See, this will work, when you execute the app. Mayur Tendulkar Show quoteHide quote "elwaly" wrote: > Hi evry one, > I want to build a group of comboboxs that have 3 to 6 items but > initially i want them to start blank on run time, And show the first > item when I press a command button i.e. Each combobox shows it's > first item(0). > thanks. > >
User's Mail Editor
Problème data tramsmission from tableadapter to ACCESS database How to: Omit Deafulted Elements from XML When Serializing Class and property question Just want to be sure about 2005 Help with Radio button loop Darn, still does not work! convert rtf to html Can't get a value from my app.config file Determine my IP Address |
|||||||||||||||||||||||