How to dynamically create tab on form and populate tab with items based on what the user enters

Hi.

I have a screen where the user selects different forms of communication methods.  This can be just 1 or up to 20.
Depending on what the user selects, I need to add a tab to my main form that will be populated with all the methods of communication that the user entered, so, if I only entered 2 methods, the new tab will only be populated with 2 textboxes, and if I selected 10 methods, the tab will have 10 textboxes on it.

Any ideas on what I need to do to achieve this?
Jasmin01Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jasmin01Author Commented:
Thanks for that.  How will I get it to populate the tab, based on how many communication methods the user entered?  Should I store that information in an array, then loop though the array to populate?  Is that the best way to do this?
0
 
CodeCruiserCommented:
Can you not use a control like DataGridView or Listbox?
0
 
Jasmin01Author Commented:
I need textboxes to be drawn dynamically.  A listbox or datagridview is not really an option.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.