Вниз
Скачать: CL | DM;

TreeView   Найти похожие ветки 

 
Senator ©   (2003-01-09 11:03) [0]

Такой вопрос: как после TreeView.Items.Clear и нового заполнения оставить выделенной определенную ветку, которая была выделена до Clear??


 
Axis_of_Evil ©   (2003-01-09 11:04) [1]

Запомнить номер и тд


 
Senator ©   (2003-01-09 11:49) [2]

Все, нашел:
tn:=TreeView2.Items[0];
Searching:=true;
while (Searching)and(tn<>nil) do
begin
if tn.text=SelectedIndex
then begin
Searching:=False;
TreeView2.Selected:=tn;
TreeView2.SetFocus;
end
else tn:=tn.GetNext
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.009 c
6-62703
DNK
2002-11-19 08:18
2003.01.20
INDY idUDPServer


3-62376
Bakch
2002-12-25 08:58
2003.01.20
Crystal Report


1-62513
Serghei
2003-01-10 16:51
2003.01.20
Application Events


3-62416
stoper
2002-12-25 18:12
2003.01.20
ASCII&Delphi


8-62662
DenKop
2002-09-27 10:11
2003.01.20
Wave data chunk




   Наверх