Вниз
Скачать: 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.011 c
7-61842
Sergey V. Shadrin
2002-09-30 16:02
2002.12.19
как определить запущенная ли программа


1-61659
Versus31
2002-12-07 02:41
2002.12.19
3 простых вопроса


3-61434
SuMaga
2002-11-28 19:38
2002.12.19
Firebird ?


1-61623
GIL
2002-12-06 05:57
2002.12.19
WebBrowser


1-61690
Armageddon
2002-12-08 17:33
2002.12.19
Проблемы с массивом




   Наверх