Well, what I'm doing is a text box that was filled with some text depending on what was selected from the list.
let's say the text box looks like this:
blah blah ??? as?f
what do I need to figure out how to do this when the user clicks the text box and removes the "?" character, I would like to replace this character with *, and then whenever they try to delete *, it will be replaced by "?" so the end result will look something like
blah blah **? as*f
if they deleted all but one "?" .
No matter how much time I searched on the Internet, I can not find anything like it. The closest I found is the question - Determine when and which character is added or deleted in the text box
But that really doesn't help for what I'm trying to do. If anyone has a good idea about where to start looking or even how to do it, I would really like to!
early!
EDIT: Yes, this is for a Windows Form application, sorry, I forgot to specify this. Oo
source share