CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Forms

  1. #1
    Join Date
    Apr 2003
    Location
    China
    Posts
    48

    Question Forms

    Is it possible in C# that make a form being a child to another form's container control like Panel, and dock in all client?

    And how can I make it possible?











    thanx all

  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    hi,

    you "Cannot add a top level control to a control"
    however you may consider MDI application where you have windows.

    -Paresh
    - Software Architect

  3. #3
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    why would you need anyways.

    Paresh
    - Software Architect

  4. #4
    Join Date
    Apr 2003
    Location
    China
    Posts
    48

    Unhappy thanks, it is not MDI

    Thanks, it is not MDI
    It works in Dialog template, Delphi has a perfect dialog merging interface that can merger one form to another form's container control.
    I am looking for an implement in C# ,I tried a lot times,but debug message always showed that Top Control cann't be child of another control.

    I am still looking for....

    Can you give me some tips ?

  5. #5
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    the inheritance tree of Form isn't allowing.

    we are not discussing the pros and cons of any language no offense also.

    you can make use of panels instead

    or use MDI app without menu , take out all menu, MDI is for multiple documents.

    check some samples and try removing all the menus and then try adding forms one by one.

    Paresh
    - Software Architect

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured