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!

Visible Forms in different display resolutions

Status
Not open for further replies.

stpsilan

Technical User
Sep 27, 2006
1
GR
I have split my screen into six parts.
In these parts must be loaded six forms.
In my resolution (1280x1024) is all ok but in lower resolution,some buttons of the forms isn't visible.
Does anybody know what to do to solve this problem and the forms to be adjusted in all display resolutions automatically?
 
Hi,

I had a similar problem in a few programs over the past few months, the problem has come up when we switched from 17" TFT monitors to 15" flat-panel monitors.

As far as I could tell the only way of fixing the issue was to resize the forms to fit a standard 800x600 screen and rebuild the programs. You are then catering for pretty much every screen size then.

Good Luck!
 
Also dont use absolute values to define your form's size. Define width and height as percentages of screen size.

Then, use the Form's resize event to realign your controls.


------------------------------------------
The faulty interface lies between the chair and the keyboard.
 
Set your application to change the user's screen resolution to match yours when they launch it. ;-)

Only joking, that would be rather rude....

Ed Metcalfe.

Please do not feed the trolls.....
 
I've found that my onresize routines in my forms are some of the most complicated code I have to write for a form. The more complex the form, the more complicated the code. There's no good way around it.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
You can check out thread222-1285465
(seen that just recently)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top