Using SplitContainer with Panels

Experts,

I have a UI Form I designed that has the following:

Form itself with a SplitContainer with two Panels.  The left Panel (Panel 1) is where I have a Toolstrip control. Panel 2 of the SplitContainer is where I will have two separate Panels called Form and Data.

Form may have different Forms depending on what button is selected in SplitContainer:Panel1.  Data may show actual results debending on what is entered for the Form.

I know I can add a Form with its TopLevel property set to False and then show it after being added.  In the case above how would I code this in VB?

Thank you for the assistance.
Peter AllenAsked:
Who is Participating?
 
nepaluzCommented:
set the form's parent / owner to splitcontainer.panel2, then call Show() or Hide() on the form
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.