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





Article #16660: saving TFont information

 Question and Answer Database

FAQ1660D.txt   saving TFont information
Category   :VCL
Platform    :All
Product    :All 32 bit  

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/16/98 4:31:28 PM
 

Last Modified: 01-SEP-99