Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo
Form within a Form (Thursday, November 25, 2004)
 

Found the following interesting discussion in the Newsgroups:

Form within a Form
by:Stephen Martinelli

Greetings all

I have a form i want to use as a backdrop for three other forms. I want the
three other forms to be placed at a specific location on the backdrop form.
Im at a loss here....

Steve


 Reply:
by:William Ryan eMVP

 Is doing it as a MDI container applicable here? If not, you can still
create the three instances of the forms, add each one to the first form's
Controls collection and set their position to match what you need.

HTH,

Bill


 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 
Maybe an MDI environment is what you are looking for. Set the main
form's 'IsMdiContainer' to 'True', and the childrens' 'MdiParent'
property to the container form before showing them.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



Posted by Xander Zelders



 
Previous Posts
    - How to turn on Caps lock
    - How to Set Control colors
    - Option Strict On Question
    - Crystal Decisions problem
    - Sub Classes
    - Class within a Class?
    - ComboBox resize changes the text
    - ComboBox resize changes the text
    - How to Insert A New Record
    - How to return array of objects

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006


Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland