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.
 
Back
Top