Solved

"Expert" experts - Scaling issues

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now