Bringing in a sizable MDI child form in its original size, not stretched

Posted on 2000-01-13
Medium Priority
Last Modified: 2012-08-13
I have an MDI child form with a sizable border style that I bring into a MDI parent form.  When it comes in, it comes in stretched out rather than the size it was created.  None of my research indicates how to control this.  
Question by:MayaNorth
1 Comment

Accepted Solution

anthonyc earned 100 total points
ID: 2349933
build constants in the actual child for the size you WANT it to be, and set it to that size in form load.

If the border is sizable, the mdi parent sizes the form for you.. thinking it is doing you a favor

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question