Click to See Complete Forum and Search --> : Dynamically creating a listbox


January 11th, 2000, 10:43 AM
Can somebody tell me (or point to some examples) how to create list boxes dynamically and position them on the form
thanks in advance
anil

czimmerman
January 11th, 2000, 03:10 PM
See http://www.freevbcode.com/ShowCode.Asp?ID=268. This is a generic function for dynamically loading any control in VB6. In your case, you will pass "VB.ListBox" as the name argument to this function.