RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFontRecall.Create Constructor

Instantiates a TFontRecall object.

Pascal
constructor Create(AFont: TFont);
C++
__fastcall TFontRecall(TFont AFont);

Call Create to instantiate a font recall object at runtime. Create saves the current properties of the TFont object specified by AFont, which becomes the value of the Reference property.  

Subsequent calls to the Store method take snapshots of the properties of AFont and save them, replacing the values saved by this constructor. When you destroy the TFontRecall instance, the most recently-saved properties are assigned to AFont, restoring it to a previous state. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!