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 2006

Tip: Looking for answers? Try searching our database.

Treenode - line through it

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
UJ - 14 Aug 2006 21:04 GMT
I have a situation where there is stuff in the database that I want to
display but make sure the user know's it's been disabled. Ideally I'd like
to draw a line through the item.

Is there a way to do this?

TIA - Jeff.
Kevin Spencer - 14 Aug 2006 22:01 GMT
You can do this through the Font (FontStyle) used.

Example:

Font f = new Font("Arial", 8F, FontStyle.Strikeout | FontStyle.Bold);

Signature

HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Orange you bland I stopped splaying bananas?

>I have a situation where there is stuff in the database that I want to
>display but make sure the user know's it's been disabled. Ideally I'd like
[quoted text clipped - 3 lines]
>
> TIA - Jeff.

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.