RAD Studio VCL Reference
Classes.TWriterProc Type

TWriterProc is a type of callback procedure called used by TFiler and descendant DefineProperty methods.

TWriterProc = procedure (Writer: TWriter) of object;
(Writer: TWriter) ( TWriterProc)();

DefineProperty introduces an abstract method that allows descendants to read or write data like a property. 

Each descendant filer object declares a DefineProperty method that defines the data that the descendant object will read or write as if the data were a property. 

TWriterProc is the callback procedure parameter in that DefineProperty. When called, it supplies the TFiler or descendant object, allowing write access. 


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