Results 1 to 7 of 7

Thread: [RESOLVED][02/03] How to make my form MDI?

  1. #1

    Thread Starter
    Hyperactive Member shyguyjeff's Avatar
    Join Date
    Jul 2007
    Location
    City of Durian
    Posts
    289

    Resolved [RESOLVED][02/03] How to make my form MDI?

    Elow everyone...it's me again, i just want to know how to make my form into MDI...I mean I want to make my form to open only one window..Like for exampe since i log in already, I dont want that form anymore to display on my Task bar and when I am already at my main form I want it to display only the main form in my taskbar even i open a multiple document...
    Last edited by shyguyjeff; Jan 9th, 2008 at 07:58 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] How to make my form MDI?

    Set the main form's IsMdiContainer property to True and assign the main form to each child form's MdiParent property.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member shyguyjeff's Avatar
    Join Date
    Jul 2007
    Location
    City of Durian
    Posts
    289

    Re: [02/03] How to make my form MDI?

    how can i assign the main for to each child form's MdiParent property jm? can u give me some ways how to do that.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] How to make my form MDI?

    When someone tells me I should use a type or member I am unfamiliar with, the first thing I do is read the documentation for that type or member. On many, if not most, occasions that documentation will give me all the information I need. This is one of those occasions. Read the documentation for the MdiParent property and you can answer your own question.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Hyperactive Member shyguyjeff's Avatar
    Join Date
    Jul 2007
    Location
    City of Durian
    Posts
    289

    Re: [02/03] How to make my form MDI?

    ahhh...okies jm....i will just read...I made one I already done with the first one but the next I failed because it I think an f an MDIparent has MDIchild I cannot used it anymore...but i will try to read some articles so that I will be enlighten..Tnx again jm...your great!

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [02/03] How to make my form MDI?

    The whole point of MDI is the M, i.e. Multiple. If an MDI parent could only have one child then it wouldn't be very M would it?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  7. #7

    Thread Starter
    Hyperactive Member shyguyjeff's Avatar
    Join Date
    Jul 2007
    Location
    City of Durian
    Posts
    289

    Re: [02/03] How to make my form MDI?

    nyahahaha...your right jm...Tnx again for the tips....Have a nice day!

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