Results 1 to 3 of 3

Thread: PLEASE HELP! IMPOSSIBLE to set Parent-Property???

  1. #1

    Thread Starter
    Junior Member MikeyD's Avatar
    Join Date
    Nov 2002
    Location
    Germany
    Posts
    17

    Question PLEASE HELP! IMPOSSIBLE to set Parent-Property???

    Hi, VBGurus!

    MY PROBLEM:
    I have a MDI-Form with one Child-Form.
    Into this child I want to place another form, which should have the child as its parent.

    But the Parent-Property is read-only and it is impossible to create an MDI-Form inside another MDI-Form.

    This is how it should look like:


    Do You know a solution ??


    TIA!

    Mikey

    PS: I don't want to use UserControls

  2. #2
    Fanatic Member BillBoeBaggins's Avatar
    Join Date
    Jan 2003
    Location
    in your database, dropping your tables.
    Posts
    628
    First things first. You can have only one MDI form in any one project. But you could always imitate it by dictating size and location of its loading to match it's virtual parent.

  3. #3

    Thread Starter
    Junior Member MikeyD's Avatar
    Join Date
    Nov 2002
    Location
    Germany
    Posts
    17
    Originally posted by BillBoeBaggins
    But you could always imitate it by dictating size and location of its loading to match it's virtual parent.
    Thanks, BillBoeBaggins, but always keep size, location and z-order by myself is not that, what I want.

    I'm more firm in C++ and there You have an API-function called
    CreateWindow(..., ParentWindowHandle,...)

    In this function, the specified Parent-Window has not to be a MDI!

    Isn't there something like this in VB(.Net)?

    Mikey

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