Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWTreeView SelectedItemStyle
#1
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
Reply
#2
I'll have a look and let you know ASAP
Reply
#3
Thumbs Up 
Thanks for your response.
Reply
#4
I could not find any issues with the implementation.

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


Attached Files
.zip   TreeViewBug.zip (Size: 52.82 KB / Downloads: 1)
Reply
#5
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
Reply
#6
Thanks for your test/feedback, Dan! Appreciated :-)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)