Re: Why not use form's ParentFont for Vista?
- From: Paul Breneman <SeeWebPageForEmailAddress@xxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 16:54:46 -0500
Matthew,
Setting ParentFont to True on the main form does not work for me. It still doesn't pickup the system font.
I've done more testing with a Delphi-2005 program running in NT4 (using VMware). You are correct that it doesn't pick up the system font.
In answer to your first question, the main form does not have a parent form, so setting ParentFont to True doesn't make a lot of sense. In my case, setting this property doesn't do anything either.
Setting the ParentFont true on the main form does have some effect for me (and that is why I thought it was working).
If I run my test program on NT4 and display the font name for the main form it shows MS Sans Serif. If I run the same program on XP it shows Tahoma.
Since the same program (with the main form ParentFont true) showed the default system font *NAME* on NT4 and XP I assumed it was picking up the system font. But when I tried changing the system font on NT4 it continued to have MS Sans Serif. I now assume (asking for trouble I know) that the Delphi RTL is doing something different when the main form ParentFont is true, but it isn't using the system font.
--
Regards,
Paul Breneman
http://www.BrenemanLabs.com/
http://www.TurboControl.com/TPSupport.htm - TurboPower support links
.
- References:
- Why not use form's ParentFont for Vista?
- From: Paul Breneman
- Re: Why not use form's ParentFont for Vista?
- From: MJMatthew
- Re: Why not use form's ParentFont for Vista?
- From: Paul Breneman
- Re: Why not use form's ParentFont for Vista?
- From: MJMatthew
- Why not use form's ParentFont for Vista?
- Prev by Date: Re: Working with other languages
- Next by Date: Re: 'Experts' Exchange
- Previous by thread: Re: Why not use form's ParentFont for Vista?
- Next by thread: Re: Why not use form's ParentFont for Vista?
- Index(es):
Relevant Pages
|