JVCL Help:TJvBaseDataItems.DefineProperties

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Provides an interface for a method that reads and writes otherwise unpublished data.


Pascal

 procedureDefineProperties(Filer: TFiler); override;


Parameters

Parameters Description
Filer: TFiler Filer object to read or write the data from or to.


Description

TJvBaseDataItems overrides the DefineProperties method defined in TPersistent to define the fake Items property. This is defined so that the list of items can be read and written from and to the filer. However, there is no such property as Items.
DefineProperties assigns the ReadItems and WriteItems methods as the reader and writer methods for the Items property.
DefineProperties is virtual; descendant classes can override it. When overriding DefineProperties, be aware that the Ancestor property of Filer might be set, and that this property can determine whether or not it is appropriate to write properties.
DefineProperties is called automatically as part of the component streaming system; do not call it directly.


See Also

TJvBaseDataItems.ReadItems, TJvBaseDataItems.WriteItems


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page