Board index » delphi » How forms are adjusted for different resolutions
a...@mailcity.com
![]() Delphi Developer |
Thu, 23 May 2002 03:00:00 GMT
|
a...@mailcity.com
![]() Delphi Developer |
Thu, 23 May 2002 03:00:00 GMT
How forms are adjusted for different resolutions
I wrote a program for 800x600 screen resolution. When the program is
run with different screen resolutions form does not fit to screen or becomes smaller than the original. What can I do to get the same appearance of forms (including sizes and positions of compenents on them) with different screen resolutions. I mean I want to scale both forms and sizes and positions of components on them. Thanx in advance AlpDemir Sent via Deja.com http://www.deja.com/ |
Sundial Service
![]() Delphi Developer |
Fri, 24 May 2002 03:00:00 GMT
Re:How forms are adjusted for different resolutionsI had a fun experience with one of these components because I routinely use a 21" monitor -- but design bitmaps to fit in 800x600 which turns out to be the most common one in the field. Well, apparently the component picked-up on the size of the monitor versus the design-time size of the bitmap, and the components were actually relocated (as near as I can tell) in a "screen-wrapping" fashion. Quite a sight to look at. But as Steve says, there are plenty of components out there which can Quote>stevemccus...@pobox.com wrote: ---------------------------------------------------------------------- Sundial Services :: Scottsdale, AZ (USA) :: (480) 946-8259 mailto:i...@sundialservices.com (PGP public key available.) Quote> High-speed, script-driven, table repair/support for Paradox/BDE... |
stevemccus..
![]() Delphi Developer |
Sat, 25 May 2002 03:00:00 GMT
Re:How forms are adjusted for different resolutionsQuoteOn Sun, 05 Dec 1999 11:13:01 GMT, a...@mailcity.com wrote: Steve McCusker |
Mike
![]() Delphi Developer |
Sat, 25 May 2002 03:00:00 GMT
Re:How forms are adjusted for different resolutionsI have had similar problems and one way to at least partially solve this problem is to set the 'Pitch' property of the main form's font to fpVariable instead of fpFixed or fpDefault. All subsequent components you place on the form (or that are already on the form) should receive this property as well .. if not you'll need to change it manually or set their ParentFont proprty to "true" Hope this helps -Mike "Fiddler" D. stevemccus...@pobox.com wrote in <384c6e4b.15873561@Server1>: Quote>On Sun, 05 Dec 1999 11:13:01 GMT, a...@mailcity.com wrote: |
Peter Wagne
![]() Delphi Developer |
Thu, 30 May 2002 03:00:00 GMT
Re:How forms are adjusted for different resolutionsHello, I wrote a little procedure to do the task. I stored it in one unit and Peter Wagner procedure TForm25.ScaleIt end; a...@mailcity.com schrieb: Quote> I wrote a program for 800x600 screen resolution. When the program is |
1. forms look different on different screen resolutions
2. Displaying form the same for different resolutions?
3. Scaling Forms to different screen resolutions
4. Form size at different resolutions
5. Form size's for different sized/resolution monitors
6. form sizes and different resolutions
7. Forms under different screen resolutions - Help please
8. Form changes when using different screen resolutions.
9. How to scale forms for different display resolutions?
10. Help - Forms and different screen resolutions (or font sizes)