Ver Mensaje Individual
  #6  
Antiguo 07-09-2017
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
Pues debe ser algo como esto:

Código Delphi [-]
var
  Nodo: TTreeNode;
  Ruta: String;

begin
  Ruta := '';

  if Assigned(TreeView1.Selected) then
  begin
    Nodo := TreeView1.Selected;
    Ruta := Nodo.Text+ '\' + Ruta;

    while Assigned(Nodo.Parent) do
    begin
      Nodo := Nodo.Parent;
      Ruta := Nodo.Text+ '\' + Ruta;
    end;
  end;
end;

LineComment Saludos
Responder Con Cita