Selected color in TTreeView

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Lenfors
Newbie
Newbie
Posts: 2
Joined: Wed Sep 25, 2024 12:00 am

Selected color in TTreeView

Post by Lenfors » Sun Jun 22, 2025 7:32 am

Hello!

This forum has been unused for a long time but i'll give it a try :D

We use TTreeView in an application and it worked great for years, now since last 6 months we got complaints from customers that the selected nodes are barely distinguishable. We would like to have the background color for selected nodes much more deviant.

We tried OnCustomDrawItem and OnAdvancedCustomDrawItem to draw the text manually and this works, but the icons are not drawn. Then we tried to draw the icons also, but the lines left of the icons and the "plus" signs to expand nodes are not drawn and we don't know how to do this manually.

I there a simple solution how to change the texts background color manually?

Please help, we got stuck here.

Yeray
Site Admin
Site Admin
Posts: 9709
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Selected color in TTreeView

Post by Yeray » Fri Jun 27, 2025 9:05 am

Hello,

We'll revise it and we'll be back to you asap.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9709
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Selected color in TTreeView

Post by Yeray » Fri Jun 27, 2025 9:18 am

Sorry, did you write TTreeView by mistake?
Note TTreeView is the component from Embarcadero while TTeeTree is the component from Steema Software shipped with TeeChart.

CompareSpeed demo
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply