RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBrushRecall Class

TBrushRecall saves and restores a TBrush object.

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

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

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

 

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