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

Sorry another question 1

Status
Not open for further replies.

MrMoocow

Programmer
May 19, 2001
380
US
How do I set my forms height and width to say 800x600 (my actual resolution is 1024x768) but just setting form.hieght = 800 returns a very small form 9even when its set to 3 - Pixel). Does anyone know how do set the form to various resloutions, the controls look fine.
 
I'm sorry I didn't specify it is set to option 3 which is pixels.
 
You specified it. I did not see it BUT Height and Width are EXTERIOR while ScaleHeight and ScaleWidth are interior.
This works for me.
Me.ScaleMode = 3
Me.Height = 600 * Screen.TwipsPerPixelX
Me.Width = 800 * Screen.TwipsPerPixelY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top