Solved

Control Size of Forms in Forms

Posted on 2002-06-05
6
124 Views
Last Modified: 2012-05-04
How do I control the size of a form within my MDI Form?

Jeff
0
Comment
Question by:jeffbeasley
6 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 7056644
You can only control the size of the child form when it is not maximized, then using the normal .Height and .Width properties you can set it to whatever you want. So you would set .WindowState = vbNormal then set the height and width accordingly.
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 7056648
You can set the form's BorderStyle property to something like "Fixed Single".  Or do you mean you want to allow the user to resize, but only to a certain size?
0
 
LVL 3

Author Comment

by:jeffbeasley
ID: 7056697
Azra,
That worked for another 15 points how do I control where its beginning placement on the screen is.....

Thanks.....
Jeff
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 28

Accepted Solution

by:
AzraSound earned 65 total points
ID: 7056719
If it is a true child form in your MDI application, you can position the child form in its Load event:

Private Sub Form_Load()
    Me.Move 1000, 1000
End Sub
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7858109
jeffbeasley, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Accept AzraSound's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 8001717
Comment from expert accepted a answer

Computer101
E-E Admin
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now