Select Label.Text?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BGS

    #1

    Select Label.Text?

    Is there some setting that will allow users to select the text displayed in
    a Label on a Windows Form? I would just like to be able to highlight the
    text so that I could use Ctrl-Ins to capture the text to the Windows
    clipboard. (I understand I could have the text display in a TextBox rather
    than a Label, but for various reasons, I would prefer a Label display, but
    one where the text could be copied).

    All help most appreciated.

    Bruce


  • Andrew Gnenny

    #2
    Re: Select Label.Text?

    Hi,

    What reasons to not use TextBox ?
    You could make the TextBox look&feel very similar to the Label.
    --
    Andrew Gnenny
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE


    "BGS" <bgs@_NOSPAM_ms n.com> wrote in message
    news:vo6sq1jca9 s5fe@corp.super news.com...[color=blue]
    > Is there some setting that will allow users to select the text displayed[/color]
    in[color=blue]
    > a Label on a Windows Form? I would just like to be able to highlight the
    > text so that I could use Ctrl-Ins to capture the text to the Windows
    > clipboard. (I understand I could have the text display in a TextBox[/color]
    rather[color=blue]
    > than a Label, but for various reasons, I would prefer a Label display, but
    > one where the text could be copied).
    >
    > All help most appreciated.
    >
    > Bruce
    >
    >[/color]


    Comment

    Working...