Label Click event?

  • Thread starter Thread starter Alain Dekker
  • Start date Start date
A

Alain Dekker

I've added a System.Windows.Forms.Label control to my form, and the only
events exposed are:

EnabledChanged
ParentChanged
TextChanged

No "Click" event. Is there any way to hook into that?

I notice that the System.Windows.Forms.LinkLabel *does* have a Click event,
but its also got an ugly underline in the text. Is there any way to get rid
of the underline.

I should mention that I'm using Visual Studio 2005 and C# targetting Windows
CE 5.0 using .NET CF v2.0 in case its relevant.

Thanks,
Alain
 
I've added a System.Windows.Forms.Label control to my form, and the only
events exposed are:

EnabledChanged
ParentChanged
TextChanged

No "Click" event. Is there any way to hook into that?

I notice that the System.Windows.Forms.LinkLabel *does* have a Click event,
but its also got an ugly underline in the text. Is there any way to get rid
of the underline.

Usually it does not make much sense to click on a Label.

You read Label's, write text in TextBox'es, click
on Button's etc..

Arne
 
OK thanks, I have now found the CompactFramework newsgroup and I'll post
there when I think its relevant.

Regards,
Alain
 
Back
Top