Solved

Using SplitContainer with Panels

Posted on 2012-04-06
1
576 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
1 Comment
 
LVL 17

Accepted Solution

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now