RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBrushRecall.Create Constructor

Instantiates a TBrushRecall object.

Pascal
constructor Create(ABrush: TBrush);
C++
__fastcall TBrushRecall(TBrush ABrush);

Call Create to instantiate a brush recall object at runtime. Create saves the current properties of the TBrush object specified by ABrush, which becomes the value of the Reference property.  

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

 

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