I have a windows forms application
that gets an ID, or more, in a richtextbox
and validates it. If the ID or IDs is invalid will be highlighted in yellow.
richTextBoxCode_.SelectionBackColor = Color.Yellow;
What I want is to switch the richtextbox
with a textbox
but seems textbox
doesn't have the SelectionBackColor
. Is there any way to do this in a textbox
?
Thanks!