Ver Mensaje Individual
  #2  
Antiguo 05-01-2005
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
El array ya lo tienes: TreeView.Selections. Sólo tienes que recorrerlo:

Código Delphi [-]
var
  Nodo, Padre: TTreeNode;
  Indice: Integer;

begin
  for Indice := 0 to TreeView1.SelectionCount - 1 do
  begin
    Nodo := TreeView1.Selections[Indice];
    Padre := Nodo.Parent;

    {
      haces lo que tengas que hacer con el nodo y su padre
    }
  end;
end;

// Saludos
Responder Con Cita