Autor Beitrag
SteheAufDerLeitung
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 104



BeitragVerfasst: Di 10.07.07 11:08 
Wie kann ich denn mehrere Einträge einer TreeView selektieren? Multiselect ist bereits auf true; mittels Code sollen mehrere Nodes selektiert werden.

Könnt ihr mir weiterhelfen? Vielen Dank schonmal..

Sebastian


Moderiert von user profile iconTino: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mi 11.07.2007 um 08:48
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Mi 11.07.07 07:30 
so z. B.:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.ButtonClick(Sender: TObject);
begin
  TreeView.Select ([TreeView.Items.Item[1], TreeView.Items.Item[2]]);
end;

_________________
Ein Nutzer der Ecke ;-)
SteheAufDerLeitung Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 104



BeitragVerfasst: Mi 11.07.07 11:36 
Tatsächlich!! Danke! Frage ist beantwortet - muss mir nur noch ne Schleife ausdenken. Super!