TVirtualDrawTree.OnLoadNode Event

Virtual Tree View

Streaming support event.

Pascal
property OnLoadNode: TVTSaveNodeEvent;
Description

This event is typically triggered when serialized tree data must be restored, e.g. when loading the tree from file or stream or during a clipboard/drag'n drop operation. You should only read in what you wrote out in OnSaveNode. For safety there is a check in the loader code which tries to keep the internal serialization structure intact in case the application does not read correctly.

See Also

OnSaveNode, LoadFromStream, SaveToStream, AddFromStream, VTTreeStreamVersion, TVTHeader.LoadFromStream, TVTHeader.SaveToStream

Class
Links
What do you think about this topic? Send feedback!