Hello, how do I correct the code so that double-clicking works only on child elements?
procedure TForm1.VSTDblClick(Sender: TObject);
var
Data: PData;
Node: PVirtualNode;
begin
Node:= VST.FocusedNode;
if Node <> nil then
begin
Data := VST.GetNodeData(Node);
ShellExecute(Handle, 'open', PChar(Data^.Link), nil, nil, SW_SHOW);
end;
end;