?
Solved

Scaling forms reliably?

Posted on 2005-03-09
5
Medium Priority
?
208 Views
Last Modified: 2013-11-22
Hi,

Is there a foolproof and failsafe way of scaling forms so that they are laid out the same in all resolutions?

I used to use ScaleBy, but it doesnt change column widths in datagrids etc. or font sizes, and I'm not too keen on making a UI for each resolution.

TIA

Philip
0
Comment
Question by:philly_tee
[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
5 Comments
 
LVL 1

Accepted Solution

by:
mhamini earned 500 total points
ID: 13501383
Hi dear friend ...

I provide for you a RAR file with some usefull information about your problem. an article with most usefull points for scaling and a free component for doing it. and a complete tutorial about that component and a sample code ...
you can download and enjoy all of this from :

+) www.mizan3.com/delphi/scaling.rar

I hope this package be usefull for you.

Regards. :)
0
 
LVL 15

Expert Comment

by:mikelittlewood
ID: 13503807
If you want to be able to scale properly, get used to using the anchor properties of forms.
0
 
LVL 5

Expert Comment

by:DeerBear
ID: 13503815
First of all, a warm welcome to mhamini - who's joined us recently apparently - it's always nice to see new Delphi community members hanging around.

Second thing: to scale forms correctly your first care must be to have proper anchors set in your forms' components.

Then, use ScaleBy and have fun.

Cheers,

Andrew
0
 
LVL 1

Expert Comment

by:mhamini
ID: 13504644
Excuse me Dear Asker ...
Dear Andrea! (DeerBear) thank you very much.
excuse me again.
0
 
LVL 3

Author Comment

by:philly_tee
ID: 13597586
Hey sorry about the delay...

Anchors on each component are set to top left.  This obviously means that the top left position will stay put and the bottom right corner will move, but how do you suggest they are used properly?
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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…
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…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 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