RAD Studio VCL Reference
TFiler.DefineProperty Method

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

procedure DefineProperty(const Name: string; ReadData: TReaderProc; WriteData: TWriterProc; HasData: Boolean); virtual; abstract;
virtual __fastcall DefineProperty(const AnsiString Name, TReaderProc ReadData, TWriterProc WriteData, Boolean HasData) = 0;

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. 


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