Click to See Complete Forum and Search --> : if i entered 5 then it will create 5 textboxes , if entered 6 then 6, etc....How?


AndyK
October 12th, 1999, 09:36 PM
I need to create chart, that if i enter 5 in "number of lines" then it will create 5 "lines" on the form in each line i need to have 3 textboxes (horizontal order), if I enter 7 into "number of lines" then program will create 7 lines with 3 texboxes in each......
Thanks

Lothar Haensler
October 13th, 1999, 03:39 AM
to dynamically add controls to your form use one of the following approaches:
- a control array
- VB 6's Controls.Add method