JVCL Help:TJvBaseDataItem.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

TJvBaseDataItem overrides the DefineProperties method defined in TPersistent to define the fake SubItems property. This is defined so that the optionally supported list of sub items can be read and written from and to the filer. However, there is no such property as SubItems.
DefineProperties assigns the ReadSubItems and WriteSubItems methods as the reader and writer methods for the SubItems 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

TJvBaseDataItem.ReadSubItems, TJvBaseDataItem.WriteSubItems


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