Re: Text entry limitation
roland <[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Message-ID | <[email protected]> |
I use the property limitText of a textfield. For the special character I use (this will be the filter) AddHandler tf101(fn).keypressed, AddressOf myMethod Roland Op 18/08/2017 om 10:35 schreef Jean-Luc Arnaud: > Hi all, > > What's the best way to limit text entry to only some characters? > > Mask property doesn't seem to be the solution. > > Of course, I could code for a kind of filter, but in addition to > authorized characters, I would have to manage Enter, Return, Tab, > arrows, Delete, ... > > Any suggestion welcome. > To unsubscribe, email [email protected]