Hiding caret of textbox

  • Thread starter Thread starter Jared
  • Start date Start date
J

Jared

Hi,

I would like to hide cursor, but dont wont to have a 'grayed' text box by
using read-only property.

Or if windows would stop selecting text automatically after a calling focus
method from antoher textbox that has a text selection.
 
Jared,

You can hide the caret by setting the style to read-only. You don't like the
grey background? Why don't you go ahead and change the backfround color for
the this read-only text box? Use whatever color you like.
Keep in mind though that even read-only and without caret the text is still
selectable because one may not be able to change the text, but one can still
copy the text in the clipboard.
 
Back
Top