Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: All
Aug 23, 2000

Keep Your MDI Form Maximized

MDI forms do not allow you to remove the Min/Normal-Max/X or Control Box. Many times you want the MDI Form to remain in the Maximized state. One way to accomplish this is adding the following line of code to the MDI form's MDIForm_Resize event.

 
Private Sub MDIForm_Resize()
	' vbMaximized is equal to 2
	Me.WindowState = vbMaxmized
End Sub
Stephen Kelly
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date