RAD Studio VCL Reference
TWinControl.DefineProperties Method

Provides methods to read and write the IsControl property to a stream such as a form file.

procedure DefineProperties(Filer: TFiler); override;
virtual __fastcall DefineProperties(TFiler Filer);

DefineProperties is called automatically by the streaming system that loads and saves VCL components. It allows persistent objects to read and write properties that are not published. Published properties are loaded and stored automatically. 

DefineProperties uses the methods of the filer passed as the Filer parameter to assign methods that can load and save the IsControl property. 

Override DefineProperties to persist unpublished properties. Call the DefineBinaryProperty or DefineProperty method of the Filer parameter to assign methods that load or save property values.

Note: When overriding this method, call the parent class's DefineProperties method first.


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