RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFontRecall Class

TFontRecall saves and restores the properties of a TFont object.

Pascal
TFontRecall = class(TRecall);
C++
class TFontRecall : public TRecall;

Graphics

Use TFontRecall to store the current state of a TFont object. You are then free to change the current state of the font object. To restore the font object to its original state, all that is necessary is to free the TFontRecall object and the TFont object is automatically restored to the saved property values. 

You can update the TFontRecall instance to reflect the current properties of the TFont object by calling the Store method. You can prevent the TFontRecall destructor from updating the TFont object by calling the Forget method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!