Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fixed child window size

Status
Not open for further replies.

ctlin

Technical User
Apr 17, 2002
77
US
when i load new child windows at runtime, they come up a different size than when i was building them in VB.

Call Load(childForm1)

how do I make MDI child windows load up the same size at runtime as in the project?
 
Try this in each of the childs' form load event

Private Sub Form_Load()
Me.Height = 'design height desired
Me.Width = 'design width desired
End Sub

hope this helps Anything is possible, the problem is I only have one lifetime.
[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top