Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How do you disable focus of a control....

$
0
0

 

I am trying to make a simple program which has:

2 TextBoxes             (inputs to program)

1  RichTextBox        (output of program)

The user enters data into the 2 textboxes, the program then processes it and  displays it in the RichTextBox (as text)....

Since the RichTextBox is only used to display text I have set it to ReadOnly - but would also like to disable the text cursor that appears in it when you click on it (?same as disabling its focus?)

How would I do this?

 

 


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>