| Subject: | How to handle user font preferences? |
| Posted by: | Jack Tripper (ian.emfuckade…@avatopia.com) |
| Date: | Tue, 30 Dec 2008 |
i've come up with the call that gets the user's UI font preference (as
opposed to Borland's hard-coded choice of "MS Sans Serif").
Let's pretend the user's font preference is:
Segoe Print, 15pt
i set the font of all items, on all forms, in all applications to:
Segoe Print, 15pt
Problem is that things are now cut off. Buttons are too small - too narrow,
too short. Text in labels is cut off, etc.
The form has it's Scaled property, but that doesn't change depending on font
sizes. The scaled property scaled the form when it is serialized in based on
the height of the numeral "0".
i can't find anything in the help for how Borland intended me to support the
user's Windows application preferences.
How do i handle user font preferences?