Solved

Changing a color of a disabled link label

Posted on 2010-11-19
4
627 Views
Last Modified: 2012-05-10
Is it possible to change the color of a disabled link label in a windows form?  I want to make it the standard color a regular label when it's disabled versus grayed out.
0
Comment
Question by:MrFantastic6
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Snarf0001
Comment Utility
Sure, just set the DisabledLinkColor property.
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 100 total points
Comment Utility
this is not easy. check http://www.emoreau.com/Entries/Articles/2005/07/Colors-of-disabled-controls.aspx

you will not find a link label but chances are that it is working like another control
0
 
LVL 2

Author Comment

by:MrFantastic6
Comment Utility
wow, i was REEEEALLLY hoping that it was as easy as disabledLinkColor property.  it had ZERO effect.
0
 
LVL 22

Expert Comment

by:Snarf0001
Comment Utility
I think I misunderstood, if you mean the actual Link inside the control is disabled, then the .DisabledLinkColor will work.
If you mean the linklabel itself is disabled (which I now believe is what you meant), then Erics code is unfortunately what you need.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now