Ver Mensaje Individual
  #2  
Antiguo 10-12-2004
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
Prueba este método:

Código Delphi [-]
var
  Nodo: TTreeNode;
  I: Integer;

begin
  for I := 0 to TreeView1.Items.Count - 1 do
  begin
    Nodo := TreeView1.Items[i];

    if Nodo.Text = 'Mi nodo' then
    begin
      Nodo.Selected := true;
      Nodo.MakeVisible;

      break;
    end;
  end;
end;

// Saludos
Responder Con Cita