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

Screen Resolution ?

Status
Not open for further replies.

bzac

Programmer
Dec 20, 2000
55
US
How can I convert an application made for 1024 x 768 screen resolution to 800 x 600 resolution ?. There are a lot of forms and charts to adjust manually. Please help me with some ideas.
 
With great difficulty I think.
In the form_load sub, you could find out what resolution the screen is with then make all the control's height, width and position correspondingly smaller as in:
If Screen.Height \ Screen.TwipsPerPixelY > 700 Then
'Screen is 1024x768
Else
'Screen is 800x600
Divide the top, height, left and width and font size of each control by 0.78 (800/1024)if it is this resolution
End If
I'd like to know if there is an easier way also?
Ted

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top