PC Review


Reply
Thread Tools Rate Thread

I cannot get my tree nodes to display in bold!

 
 
Robin Tucker
Guest
Posts: n/a
 
      10th Aug 2004
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


 
Reply With Quote
 
 
 
 
Robin Tucker
Guest
Posts: n/a
 
      10th Aug 2004
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
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
abt tree view in asp.net can i hide the tree nodes ? raki Microsoft ASP .NET 1 24th Jun 2009 12:45 PM
Input Box associated with tree nodes jagrat@gmail.com Microsoft C# .NET 0 5th Feb 2007 09:25 PM
Tree & Sum of Nodes James E Microsoft ADO .NET 3 2nd Jun 2004 04:25 PM
Sorting Tree Nodes? Yaron Microsoft VB .NET 1 8th Jan 2004 10:43 PM
Tree nodes being highlighted Tony Microsoft Dot NET Framework Forms 1 7th Oct 2003 09:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:16 PM.