TBaseVirtualTree.ValidateNodeDataSize Method

Virtual Tree View

Helper method for node data size initalization.

Pascal
procedure ValidateNodeDataSize(var Size: Integer); virtual;
Description

ValidateNodeDataSize is called from MakeNewNode if the currently set node data size is -1, which indicates it has not yet been determined. The method calls the event OnGetNodeDataSize allowing so the application to compute now its data requirement.

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