Re: Text entry limitation
"emile.a.schwarz" <[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <442472581.4577.1503057210588.JavaMail.www@wwinf1k31> |
You have a good point Markus. In my context (the user does not enter anything, the text already exists), this works. I typer too fast and think too slow :( Emile PS: I continue like that the whole morning (today is a bad day for me). > Message du 18/08/17 11:23 > De : "Markus Winter" > A : "Nug" > Copie à : > Objet : Re: Text entry limitation > > > If InStr(TextField1.Text,"LIST OF VALID CHARACTERS") > 0 Then > // Deal with the valid character(s) > Else > // No nothing: reject other characters > End If > That's a srart but not sufficient. The user will still be able to paste or drag and drop invalid characters. > Markus > > > To unsubscribe, email us here. To unsubscribe, email [email protected]