JVCL Help:TJvTMTimeline.OnReadObject

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when an object associated with a date needs to be read from a stream.


Pascal

 propertyOnReadObject: TJvObjectReadEvent;


Parameters

Parameters Description
Sender The timeline view control that is reading the timeline data from the stream.
Stream Specifies the stream from which to read the custom data.
AObject The new object to be associated with a date.


Description

Use OnReadObject to write a handler that creates an object to be associated with a particular date. The OnReadObject can initialize that new object by reading custom data from the specified stream and setting the new object's properties accordingly. When you call LoadFromStream or LoadFromFile, the component fires an OnReadObject event for each date it reads from the stream that has an associated object.


See Also

TJvCustomTMTimeline.LoadFromFile, TJvCustomTMTimeline.LoadFromStream, TJvCustomTMTimeline.OnWriteObject


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