Solved

"Expert" experts - Scaling issues

Posted on 1997-05-07
4
214 Views
Last Modified: 2013-11-22
I want my Delphi 1 application to scale from VGA to SVGA so everything fills the screen and looks the same, but it is not as simple as I thought. Some components need different scaling approaches for the 4 combinations of 800x , 1Kx, large & small fonts, I only use the system font and even that isn't consistent; it becomes a real 'can of worms'. Alternatives seem to be :-
- Write a version for each display mode. It's a huge application and has lots of line draw etc so there will be heaps of work to do this 'simple' task.
- Use a product like 'AnyView' but I believe it won't work on some display cards, especially on notebooks.
- Have the application change and restore the display mode.
This was easy under DOS but can it be done without restarting Windows and will it allow switching between applications. I'm fairly sure it won't.
- It will run mainly under Windows 95 which still seems not to be able to change resolution without restarting.
 
For 50 points I would like an 'expert' opinion on this issue, not some simplistic reply that says nothing. The concept of scaling seems to be a major fault with the Windows environment, is there a workable solution?
Something that actually works is worth much more than 50 points of course.
0
Comment
Question by:frog
  • 2
4 Comments
 
LVL 2

Expert Comment

by:javiertb
ID: 1336000
There are lots of articles and help files where you'll be able to find how to design a form resolution independient. One of these is Lloyd's Delphi Notes (www.borland.com/techsupport/delphi/download_files/ldelphi.zip), and another is one of those TI's available at Borland as well.
They're very usefull and it's stated everything you should do in order to make your application showing correctly at any screen resolution.
0
 

Author Comment

by:frog
ID: 1336001
I can't access anything in \delphi at the borland site.
Is the URL given still current?

0
 
LVL 2

Expert Comment

by:gysbert1
ID: 1336002
I downloaded this file yesterday. It is definately current !

Have you used GetSystemMetrics to get the resolution and draw according to that?

Did you use a scalable truetype font ?

I think this was well answered by javiertb, You owe him some points here. The document he quoted even has example source in it !

PS:
You do not have to reject an answer for a reason like this ! Rather try to solve the problem by commenting in stead of rejecting.
0
 
LVL 2

Accepted Solution

by:
javiertb earned 50 total points
ID: 1336003
Thank you for your comment on the other posted question.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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