Hi @myatix ,
Doing it while the user types involves some smoke and mirrors which may have other trade offs.
You can convert it to Upper() using OnChange(), so the user will type in small caps, but as soon as they move off the input it will update - but if they don't move off it won't update.
So - the smoke and mirrors approach trade-off - you will lose your input cursor and any hover effects you usually get on your input control. This user experience might be odd, but if it doesn't put you off and you're determined to continue, then read on:
Assuming your text input is TextInput1
Set your TextInput1 HoverFill: property to;
Self.Fill
Add a label over your input, set the background color to the same background color of your input and resize it to fit nicely over your input. Set the Text: property of your label to;
Upper(TextInput1.Text)
Set the OnSelect: property of your label to
SetFocus(TextInput1)
Now when you click over the text input you'll click the label - which will set the focus to the input.
As you type in the background the label will update with the Upper() conversion, giving the illusion that you are updating the input as you type.
It's not ideal, considering the trade offs, but it should work...
Kind regards,
RT