[squeak-dev] How to validate content in TextMorph

Chris Muller asqueaker at gmail.com
Thu Aug 29 00:05:59 UTC 2013


>From a UI perspective, if the typed character is invalid (or makes an
invalid situation), then simply refuse it; put nothing into the
TextMorph, and, optionally, flash it.

On Wed, Aug 28, 2013 at 3:57 PM, Casimiro de Almeida Barreto
<casimiro.barreto at gmail.com> wrote:
> What would be the best way of validating input in TextMorph (for
> instance, allowing input only of numeric characters or only of small cap
> letters)?
>


More information about the Squeak-dev mailing list