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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with list boxes

Status
Not open for further replies.

jonx

Programmer
Sep 2, 2003
34
0
0
US
Hello everyone, I am creating a listbox in which throughout the program, I am adding new items to the listbox. Unfortunately, the listbox stays completely empty until the very end. I was hoping though that my program would populate the list box depending on which portion of the program it is running. How would I force it to add to the listbox each time it goes through that portion of the program? Do I have to flush some sort of buffer?

does this make sense?

like if I do:

listbox1.items.add("hi")

<some code>

listbox1.items.add("bye")

<some more code here>

listbox1.items.add("wow")


The listbox will be completely empty until it finishes the program, and then it will have hi,bye,wow. I was hoping to populate it as it goes through.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top