Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 135
  • Last Modified:

Control Size of Forms in Forms

How do I control the size of a form within my MDI Form?

Jeff
0
jeffbeasley
Asked:
jeffbeasley
1 Solution
 
TimCotteeCommented:
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
 
AzraSoundCommented:
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
 
jeffbeasleyAuthor Commented:
Azra,
That worked for another 15 points how do I control where its beginning placement on the screen is.....

Thanks.....
Jeff
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
AzraSoundCommented:
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
 
DanRollinsCommented:
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
 
Computer101Commented:
Comment from expert accepted a answer

Computer101
E-E Admin
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now