Results 1 to 3 of 3

Thread: Create, Resize and Modify a MDI Form

  1. #1
    vicdeveloper is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.5
    Join Date
    Jun 2016
    Posts
    11
    Reputation
    12

    Question Create, Resize and Modify a MDI Form

    Hello,


    Im working on a POS project for learning and studying purpose, and I want to know how can I create a MDI form and all of controls inside can resize as well as I need.


    For example:


    Starts the MDIform in a Window Default State and Position, and if I minimize it all controls inside my mdi parent resize as well too.


    I hope to be clear to understand me.


    See ya,

  2. #2
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,801
    Reputation
    1705
    Your question is really rather vague. Please be specific. What exactly have you tried and what exactly are you having issues with? If you haven't tried anything then maybe that's your problem. There's plenty of information around about MDI in .NET. Don't wait for us to explain everything to you. Do your own research, make an attempt and then, when you strike an actual issue, we'll be more than happy to help you overcome it.

  3. #3
    vicdeveloper is offline VB.NET Forum Newbie
    .NET Framework
    .NET 4.5
    Join Date
    Jun 2016
    Posts
    11
    Reputation
    12
    I found it!.


    In my toolstripmenuitem from form2, I have the code below:

    dim form2 as new form2
    form2.mdiparent=me
    form2.show()
    It will show me my form2 as a child in my mdi parent. Is needed to set Is a Mdi Container property to True.


    See ya,

Tags for this Thread

Bookmarks

Posting Permissions

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