RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleControl.DefineProperties Method

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

Pascal
procedure DefineProperties(Filer: TFiler); override;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!