By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,313 Members | 1,145 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,313 IT Pros & Developers. It's quick & easy.

I cannot get my tree nodes to display in bold!

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
My mistake, I was "cloning" nodes from one tree to another - this seems to
reset their fonts.......

"Robin Tucker" <id*************************@reallyidont.com> wrote in
message news:cf*******************@news.demon.co.uk...
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

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.