Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to handling screen resolution?

Posted on 1999-06-28
3
Medium Priority
?
159 Views
Last Modified: 2010-04-06
Hi,

I try to adjust my application form size and position to screen resolution, so my form could showed properly.  I want my form still displayed as I designed in form designer, regardless of screen resolution.
I've tried to scale my form using PixelsPerInch property when it's created like this:

procedure TMyForm.FormCreate;
begin
  PixelsPerInch := GetDeviceCaps(Handle, LOGPIXELSY);// I've set scaled property to true at design time;
end;

I think my form was well scaled but it's ugly.  All my component on my form was not scaled as the form was.  I have many component on my form such as: coolbar, listview, label, etc.  My coolbar was cut off, and so all my label and other component still not scaled.
Is my way  correct ? How to solve this problem?
Big thanks to anyone who helps me

Regards,

Bob
0
Comment
Question by:MamaBob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
delpro earned 60 total points
ID: 1385093
you must set the parent font of all the components that have text in to false
0
 

Expert Comment

by:delpro
ID: 1385094
I forgot to add the following
you must set form1.scaled to false
and use true type fonts like arrial
0
 

Author Comment

by:MamaBob
ID: 1385095
Hi delpro,

Sorry I'm late, I still want ask to you: Why form1.Scaled should set to False. Many Thanks for your help :)

Bob
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question