Label Click event?

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
 
A

Arne Vajhøj

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
 
A

Alain Dekker

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

Regards,
Alain
 

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

Top