Solved

"Expert" experts - Scaling issues

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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

22 Experts available now in Live!

Get 1:1 Help Now