-
Listbox Control Changes
in VB6 it was possible just to edit Listbox entries as follows:
Listbox1.ListItems(1).Text = "Some random text"
in VB7 the only option under the ListItems class (Items property) is GetType(). I've been able to use ToString() to return the string, but FromString() doesn't work. How do I do this in VB7?
-
lol but GetType() is to GET not to GIVE! in vb6 we're used that functions are read/write but in .NET most of them have a read only and another write only functions
-
that's all well and good, but how do I do it? What's the function?
-
Items collection allows you to read or write to the listbox
ListBox1.Items(2) = "ABC"
-
Arg. I though I'd tried that. Thanks.