List box/ Combo box

Nemu
06-19-2001, 06:38 AM
How can I modify the content of my list and combo boxes without having to erase every item and enteringnew one???

nighthawk
06-19-2001, 06:53 AM
You can add items using the List.AddItem code. To add new things to the list you can either type it into the combo box or a text box and use:
List.AddItem Text1.Text
Combobox.AddItem Combobox.Text
This should do it for you

Nemu
06-19-2001, 07:04 AM
thanx for trying but no... I already have stuff in my lists and I need to be able to change them...
Exemple : Let say I have 10 items in my list....
I want to change the #6 so how can I do it without removing all items from 6 to 10 and add them after???

Ad1
06-19-2001, 07:08 AM
bearing in mind index starts at 0 try<pre>Combo1.List(5) = "new"</pre>

Nemu
06-19-2001, 07:15 AM
Its ok guys I got an answer... and you were right Ad1...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum