RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPenRecall.Create Constructor

Instantiates a TPenRecall object.

Pascal
constructor Create(APen: TPen);
C++
__fastcall TPenRecall(TPen APen);

Call Create to instantiate a pen recall object at runtime. Create saves the current properties of the TPen object specified by APen, which becomes the value of the Reference property.  

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

 

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