Avatar of curiouswebster
curiouswebster
Flag for United States of America asked on

Making a label's text selectable

I have a text label and need the user to be able to select the text in the label and copy it to the clipboard.

What property on the label do I set for this?

Thanks
C#.NET ProgrammingASP.NET

Avatar of undefined
Last Comment
curiouswebster

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
AndyAinscow

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
curiouswebster

ASKER
thanks
SOLUTION
Mike Tomlinson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Mike Tomlinson

*Then you Right Click the Label...
curiouswebster

ASKER
sweet!
Your help has saved me hundreds of hours of internet surfing.
fblack61
AndyAinscow

Wouldn't that need to be done for each and every label you wanted to copy the text from?

Nice work around though.


@newbieweb - If you think the suggestion by Idle_mind is what you require then hit the request attention link and ask for a reallocation of the questions answer.
Mike Tomlinson

I don't need any points.

You could wire up all the Labels at run-time using a recursive search.
curiouswebster

ASKER
Thanks.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.