I can’t understand the process described in documentation. It says to use event:
procedure TForm1.VSTGetText(Sender: TBaseVirtualTree; Node: PVirtualNode;
Column: Integer; TextType: TVSTTextType; var CellText: WideString);
var
Data: PTreeData;
begin
Data:=VST.GetNodeData(Node);
CellText := Data^.FCaption;
end;
How do I do that? I can’t redeclare it just like this. When I double click on Tree List OnGetTextEvent it throws some exception at me “Property and Method are incompatible”
There was something wrong with my project. I’m not sure what, cos I’ve recreated it. Now the GetText event works properly. My code above works.