-
I have a form with a listview. The listview is a control array. At runtime I want to be able to create listviews with the same properties. This is called lstView(0). I need to add lstView(1), etc. I don't know in advance how many I will need. So, I need to create them as I need them. How can I do that?
-
Load at run time
You use the load command. Then once the control is loaded you have to make it visible. Also it will appear exactly where the original lstView is so you will have to change the top and left properties
Code:
load lstView(number)
lstview(number).visible = true