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

Цвет фокуса в TreeView   Найти похожие ветки 

 
VZ_Alexandr   (2002-12-10 10:40) [0]

Здравствуйте.
Как можно сменить цвет (фокус) выделение узла в TreeView. А то у меня фон не очень.


 
Дмитрий К.К. ©   (2002-12-10 12:38) [1]

procedure TForm1.TreeView1CustomDrawItem(Sender: TCustomTreeView;
Node: TTreeNode; State: TCustomDrawState; var DefaultDraw: Boolean);
begin
if cdsFocused in State then Sender.Canvas.Brush.Color := clRed else
Sender.Canvas.Brush.Color := clBlue;
end;



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

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



Память: 0.44 MB
Время: 0.014 c
1-61704
PrettyFly
2002-12-06 16:43
2002.12.19
Непредвиденный BreakPoint :(


1-61636
-=Sergeante=-
2002-12-06 15:26
2002.12.19
{$IFDEF ...}


3-61508
berezne
2002-12-02 22:33
2002.12.19
По файлам БД


1-61557
Vcoder
2002-12-05 21:09
2002.12.19
Unicode символы


1-61603
Che
2002-12-10 00:01
2002.12.19
IdHTTP и циклы !!! ПОМОГИТЕ plz




   Наверх