Link Label Disabling

  • Thread starter Thread starter ChrisM
  • Start date Start date
C

ChrisM

Hi,

Dumb question, but can someone explain to me how the LinkLabel
'DisabledLinkColor' property works...?

I have a LinkLabel on my form that allows the user to jump to another form,
however under certain circumstances I don't want them to be able to do this
do I disable the link

myLink.Enabled = false;

But, when I do this, I want the disabled link to be Black, not grey (so that
it looks like a normal label) so I also say:

myLink.DisabledLinkColor = Color.Black;

Seems straight forward, but the link is ALWAYS grey

Anyone tell me what I'm a-doin' wrong...?

Cheers,

Chris.
 
Doh!

Thanks Tim. Serves me right for not reading the documentation properly I
guess... ;-)

Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Creating a LinkLabel Programmatically 2
[MC++] LinkLabel usage 1
LinkLabel 1
transparent labels, link labels? 3
hyperlink in VB.net 3
Balloontip - tooltip add link 1
Label OnClick 3
Linking new phone to computer. 7

Back
Top