1
I have a Text Box in which can only contain a comma, so I thought to make the program detect, when the user uses the comma, if there is already one in that particular Text Box.
Here’s an example of the code I want to get:
if(*Verificar se já existe uma vírgula no textBox1) {
//não fazer nada
}
else {
this->textBox1->Text += ",";
}
Voce is using c++ or winforms?
– Paulo Alexandre
Post something you’ve already developed, some code, examples. Facilitates interpretation and possible answers
– Pedro Augusto