Sorry for the questions but I am new to Vb.Net and having some issues. I have a windows form which has a tablepanellayout control which I add at runtime. Depending on the source data I am also populating up to 60 rows of that table with controls - 16 controls on each line to be exact. That adds up to a lot of runtime controls to add - hence it takes about 4 minutes for the form to fully load - which is obviously not ideal.
I am just wondering what options I have. I know that I will have a maximum of 60 rows. One option would be to add 60 rows of controls at design time and then delete rows at runtime if I don't require them. However, the thought of adding 960 controls to a form manually and formatting them doesn't really appear to me either.
Do I have any other options to speed up loading of my form?
Mighty
I am just wondering what options I have. I know that I will have a maximum of 60 rows. One option would be to add 60 rows of controls at design time and then delete rows at runtime if I don't require them. However, the thought of adding 960 controls to a form manually and formatting them doesn't really appear to me either.
Do I have any other options to speed up loading of my form?
Mighty