Solved

Using SplitContainer with Panels

Posted on 2012-04-06
1
579 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 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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 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