TVirtualDrawTree.OnFreeNode Event

Virtual Tree View

Data management node.

Pascal
property OnFreeNode: TVTFreeNodeEvent;
Description

Triggered when a node is about to be freed. This is the ideal place to free/disconnect your own data you associated with Node. Keep in mind, that data which is stored directly in the node does not need to be free by the application. This is part of the node record and will be freed when the node is freed. You should however finalize the data in such a case if it contains references to external memory objects (e.g. variants, strings, interfaces).

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