Selecting and cursors in Label and TextBox controls

  • Thread starter Thread starter Teis Draiby
  • Start date Start date
T

Teis Draiby

Two simple questions:

Can I make text in a Label control selectable (in an easy way)?
or
Can I make the blinking cursor in a TextBox control disappear, while
maintaining selectability?


Merry Cristmas,
Teis
 
Teis Draiby said:
Can I make text in a Label control selectable (in an easy way)?

You cannot select the label's text.
Can I make the blinking cursor in a TextBox control disappear, while
maintaining selectability?

Typically, read-only textboxes are archieved by setting their 'ReadOnly'
property to 'True'. This won't hide the blinking caret when the control has
focus. Notice that the caret is visible to assist the user when selecting
text using the keyboard.

What's the reason for hiding the caret?
 
Thank you very much for answering my question(s)!
What's the reason for hiding the caret?

The caret indicates to the user that the text is editable, which it is not
in my case. It is only selectable.
(Similar to web pages (no caret) where the content is read-only but still
selectable)


regards, Teis
 
Back
Top