Re: Text entry limitation
Jean-Luc Arnaud <jean-luc-E/[email protected]>
| Newsgroups | gmane.comp.lang.realbasic.user |
|---|---|
| Organization | Centre Direct du Multimédia |
| Message-ID | <[email protected]> |
Thanks for the reply, Roland. It's not exactly my need. Nevertheless, I'm interested in your use of AddHandler, but don't understand it. Where do you place this code? What does tf101(fn) represent? Thanks for further information. Jean-Luc Arnaud Le 18/08/2017 à 11:14, roland a écrit : > 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] > > To unsubscribe, email [email protected]