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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum Form Size

Status
Not open for further replies.

sharonniles

Programmer
May 31, 2001
38
US
Hi Everyone,

How do I increase the form size from 9000 twips height and 12000 twips width? I need a form height of at least twice the current length

Any help will be greatly appreciated.

Sharon Niles
 
You can set the form's width and height properties or add the following to the form_load

Form1.Width = 24000
Form1.Height = 18000

Or set the form's WindowState property to "Maximized"

Hope this helps.

 
You will never get
Form1.Width = 24000
Form1.Height = 18000
out of a non-MDI child form period.
See
thread222-97891.
At 1280x1024 the max for a non-MDI child form is Width=19300 and Height=15360 but a MDI Child is different.
You can set a non-MDI child form's width amd height and maximize it all day but it will never be larger than the screen. Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top