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





Article #17598: How do I save a TFont object to a File/Registry/ini/Database?

 Question and Answer Database

FAQ2598C.txt   How do I save a TFont object to a File/Registry/ini/Database?
Category   :VCL
Platform    :All
Product    :C++Builder  3.x

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

Answer:
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/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99