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

Form sizing 1

Status
Not open for further replies.

bigspank

Programmer
Aug 10, 2001
28
0
0
US
I have a form "top Level: on my computer it displays fine but when I transfer it to a client machine it displays too large. How do I adjust the form to display no matter what the video settings are set at? When you sow a thought, you reap an act. When you sow an act, you reap a habit. When you sow a habit, you reap a character. When you sow a character, you reap a destiny.
 
In your Form Load() or Init(), you can check the SYSMETRIC(1) and SYSMETRIC(2) to check the user's current resolution and modify your form's height and width properties accordingly.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top