My mistake, I was "cloning" nodes from one tree to another - this seems to
reset their fonts.......
"Robin Tucker" <(E-Mail Removed)> wrote in
message news:cfamll$ept$1$(E-Mail Removed)...
> 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
>
|