|
TCustomVirtualStringTree.WriteChunks Method
Writes the core chunks for the given node to the given stream.
Pascal
procedure WriteChunks(Stream: TStream; Node: PVirtualNode); override;
Description
WriteChunks is part of the streaming system in Virtual Treeview and writes the core chunks for Node into Stream. Descentants can optionally override this method to add other node specific chunks. This streaming is used when the tree must be saved to disk or a stream used e.g. for clipboard operations.
Notes
Keep in mind that this method is also called for the hidden root node. Using this fact in descendants you can create a
kind of "global" chunk set not directly bound to a specific node.
See Also
WriteNode, SaveToStream
Class
Links
What do you think about this topic? Send feedback!
|