Solved

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

Posted on 2013-01-14
4
201 Views
Last Modified: 2013-01-22
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?
0
Comment
Question by:Jasmin01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 38777171
0
 

Author Comment

by:Jasmin01
ID: 38777199
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
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38778873
Can you not use a control like DataGridView or Listbox?
0
 

Author Comment

by:Jasmin01
ID: 38781430
I need textboxes to be drawn dynamically.  A listbox or datagridview is not really an option.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question