Atozed Forums
TIWTreeView SelectedItemStyle - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: TIWTreeView SelectedItemStyle (/thread-1498.html)



TIWTreeView SelectedItemStyle - JuergenS - 01-19-2020

Hi,

I correctly set the background color and the font color in the SelectedItemStyle property in a TIWTreeView.
For active and passive nodes with different font colors, I set the different font colors in the TIWTreeViewItems and not globally in the TIWTreeView.

When selecting a node, however, only the background color of the selected node is switched, NOT the font color!


C++Builder 10.3.3

Intraweb 15.1.12

Best Regards
Juergen


RE: TIWTreeView SelectedItemStyle - Alexandre Machado - 01-31-2020

I'll have a look and let you know ASAP


RE: TIWTreeView SelectedItemStyle - JuergenS - 02-01-2020

Thanks for your response.


RE: TIWTreeView SelectedItemStyle - Alexandre Machado - 02-06-2020

I could not find any issues with the implementation.

Can you please check the attached project and see if it works for you?


RE: TIWTreeView SelectedItemStyle - DanBarclay - 02-07-2020

Not Juergen, but I downloaded and tried with XE2 and IW15.1.9.

Font (background and FG) change correctly on selection. The png's weren't in the project for node icons but the color/code works fine.

Dan


RE: TIWTreeView SelectedItemStyle - Alexandre Machado - 02-07-2020

Thanks for your test/feedback, Dan! Appreciated :-)