I cannot get my tree nodes to display in bold!

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

No matter what I try, I cannot get my tree nodes (in my TreeView) to display
in bold.

I have a "filter" system, whereby I should highlight items in the tree that
have passed the filter. To do this, I want to display them in bold font.
At present I am writing:

theNode.NodeFont = New Font(TreeView.Font, FontStyle.Bold)

However, this makes no change whatsoever to the display of the node, its
still regular.

I've also tried changing the font before adding it to the tree.

Any ideas?


Thanks



Robin
 
My mistake, I was "cloning" nodes from one tree to another - this seems to
reset their fonts.......
 
Back
Top