und im TreeViewClick sagst du dann:
Delphi-Quellcode:
case TreeView.Selected.Index of
0 : begin
TreeView.Selected.ImageIndex := 0;
TreeView.Selected.SelectedIndex := TreeView.Selected.ImageIndex;
end;
1 : begin
TreeView.Selected.ImageIndex := 1;
TreeView.Selected.SelectedIndex := TreeView.Selected.ImageIndex;
end;
end;
MFG Alex