Solved

"Expert" experts - Scaling issues

Posted on 1997-05-07
4
204 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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