KodeZwerg, your sample project is leaking memory. You must free the string in the OnFreeNode event:Code: Pascal [Select][+][-]procedure TForm1.VSTFreeNode(Sender: TBaseVirtualTree; Node: PVirtualNode);var Data: PLCLTextData;begin Data := VST.GetNodeData(Node); Data^.Text := '';end;
KodeZwerg, your sample project is leaking memory. You must free the string in the OnFreeNode event: