?
Solved

Using SplitContainer with Panels

Posted on 2012-04-06
1
Medium Priority
?
580 Views
Last Modified: 2012-04-06
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.
0
Comment
Question by:Peter Allen
[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
1 Comment
 
LVL 17

Accepted Solution

by:
nepaluz earned 700 total points
ID: 37817095
set the form's parent / owner to splitcontainer.panel2, then call Show() or Hide() on the form
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
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.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

764 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