Главная страница | назад

Article #17692: Saving a TFont Object.

 Question and Answer Database

FAQ2692D.txt   Saving a TFont Object.
Category   :VCL
Platform    :All
Product    :All 32 bit  

How do I save a TFont object to a File/Registry/ini/Database?

You should instead save the font's attributes (name, size, 
and so forth), not the font object itself. When you read 
the font information back into your program, you should 
test to make sure the font still exists before trying to 
use it.

7/16/98 4:31:28 PM

Last Modified: 01-SEP-99