Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

treeviw problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ohad Young - 14 Aug 2005 13:41 GMT
Hi,

I'm using Windows.Forms.TreeView control (.NET Framework 1.1).  When a user
select a a node from the tree, the text of the selected TreeNode object is
displayed in a Bold font. The problem is that when the text is displayed in
Bold font some of it dissapears. It seems as if the space allocated for the
text of the TreeNode is not wide enough. I added a splitter to change the
width of the TreeView control but it didn't help, the space allocated for
the text remains the same and still not wide enough . Any idea of how solve
it will be appreciated.

Thanks, Ohad
Maqsood Ahmed - 15 Aug 2005 07:38 GMT
Hello,
 do it other way around. Make the TreeView's Font bold and later change
the font for those nodes which you need to display as normal text.

HTH. Cheers.
Maqsood Ahmed [MCP C#,SQL Server]
Kolachi Advanced Technologies
http://www.kolachi.net
Ohad Young - 15 Aug 2005 09:20 GMT
Hi,

Thanks for the tip. I?m not sure I?ll do it since it might be a very big
tree. I find another way around it by setting the HideSelection property
to false.

Thanks anyway, Ohad

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.