Board index » delphi » Delphi apps under Small vs. Large fonts
Walter Prins
![]() Delphi Developer |
Tue, 17 Feb 2004 02:07:44 GMT
|
Walter Prins
![]() Delphi Developer |
Tue, 17 Feb 2004 02:07:44 GMT
Delphi apps under Small vs. Large fonts
Hi,
This problem has bugged me for ages but it's not one I bump into too often TIA Walter Prins |
Dmitri Papiche
![]() Delphi Developer |
Tue, 17 Feb 2004 05:03:01 GMT
Re:Delphi apps under Small vs. Large fontsHello, Quote"Walter Prins" <wpr...@ananzi.co.za> wrote in message Quote> It is that when your set your Windows font size (as set in the That is actually very simple - just two things to do: 1. Set Scaled property of all your forms to FALSE to avoid form layout That's it. Regards, |
Team
![]() Delphi Developer |
Tue, 17 Feb 2004 06:47:08 GMT
Re:Delphi apps under Small vs. Large fontsQuoteIn article <3b8e8168_2@dnews>, Walter Prins wrote: Rule #2: set the forms Scaled property to false, this way the fonts will keep Rule #2 somewhat defeats the purpose of large fonts, unfortunately. So you may ScaleBy( 120, 96 ); ScaleBy does not adjust the form itself, so that has to be done manually. Peter Below (TeamB) 100113.1...@compuserve.com) |
Tomislav Kard
![]() Delphi Developer |
Sun, 22 Feb 2004 01:54:52 GMT
Re:Delphi apps under Small vs. Large fontsHi Walter! On Thu, 30 Aug 2001 19:07:44 +0100, "Walter Prins" Quote<wpr...@ananzi.co.za> wrote: after the creation! It works for me just the way I wanted with the problem you mentioned. tomi. procedure FixDPI(f: TForm; DesignDPI: integer); (* Author: Tomislav Kardas var function Scale(x: longint): longint; procedure FixControl(c: TControl); // Fixing height x := p.ClientHeight - c.Height - c.Top; procedure FixControls(c: TWinControl); begin |