Results 1 to 2 of 2

Thread: MDI forms help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2002
    Posts
    69

    MDI forms help

    Does anyone know where I can find out how to create MDI forms and create new forms within them etc? Or is anyone able to give me a couple of steps???

    Thanks very much

  2. #2
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    If you want to create an MDI-based application, go to Project menu and select Add MDI Form. This will add an MDI form to your project. One project can only have one MDI form, not more than that.

    Subsequently, set the MDIChild property of the forms to True for all those forms which you want to appear within the MDI form.

    Also set the MDI form as the startup object of your project, or if you have a Sub Main in your project, make sure you load and display the MDI form before any other forms.

    Note: You cannot display MDI child forms modally. If you require a form to be displayed modally, set its MDIChild property to False.

    Note: When a modal form is being displayed, you cannot display an MDI Child form at the same time. So, remove any code in non-MDI Child forms that may try to show an MDI Child form from them.

    Note: If one MDI Child form is maximized, all MDI Child forms will be maximized. This goes for restoring the form sizes too. If you don't want this, set the borderstyle of the MDI Child forms to 3-Fixed, and in design mode set their sizes as big as you need them.

    There may be other points I have missed, which you will discover.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

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