Strange Treeview question

D

David Lucus

This is probally something simple but I am not understanding. I am using
the treeview and I would like for the hover style to be equal to the default
style on certain nodes. Here is the code I am using:

Dim CSSCol As New CssCollection
Dim csscol2 As New CssCollection

CSSCol.Add("font-size", "large")
CSSCol.Add("color", "black")
CSSCol.Add("background", "transparent")
csscol2.Add("font-size", "large")
csscol2.Add("color", "black")
csscol2.Add("background", "transparent")
tn.DefaultStyle = CSSCol
tn.HoverStyle = csscol2


Problem is I am having is when I hover over the node, the text is turning a
silver color. Can any please tell me where I have gone wrong?

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top