Re: Why not use form's ParentFont for Vista?
- From: "MJMatthew" <REMOVE_THIS_TEXTMattyMarsh2@xxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 14:15:34 -0000
Setting ParentFont to True on the main form does not work for me. It still
doesn't pickup 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.
I am curious if this works for anyone else.
Matthew
"Paul Breneman" <SeeWebPageForEmailAddress@xxxxxxxxxxxxxxxx> wrote in
message news:45bf88c2$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Matthew,
This method works very well for me.
But you still have to set the main form to use the system font. Don't you
?
I'm not doing anything different for the main form. I just have that set
with ParentFont true just like all the other forms.
My simple test application seemed to get the correct system font under
different OSs, but I have these two questions:
1) Why does Delphi default to having ParentFont false on forms? Am I
asking for problems by setting it to true?
2) Will using ParentFont true on all of the forms (and controls) make
things better or worse for internationalization?
If the font properties allowed modifiers like "ParentFont + [fsBold]" (as
well as size increases) then I wouldn't need any fixed fonts in the DFM
files, nor any code to adjust things. That seems like the ideal but right
now the form controls needing different fonts are still fixed to Tahoma.
I still need to adjust those using code I guess.
--
Regards,
Paul Breneman
http://www.BrenemanLabs.com/
http://www.TurboControl.com/TPSupport.htm - TurboPower support links
.
- Follow-Ups:
- Re: Why not use form's ParentFont for Vista?
- From: Paul Breneman
- Re: Why not use form's ParentFont for Vista?
- From: Paul Breneman
- Re: Why not use form's ParentFont for Vista?
- 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
- Why not use form's ParentFont for Vista?
- Prev by Date: Re: Working with other languages
- Next by Date: Re: Why not use form's ParentFont for Vista?
- 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
|