Convert to Uppercase?

FYI: just tried it in RS2012R2.1 and the flag is not needed, so the change happened before, so no Xojo version is affected.

Is there some reason you can’t just use ‘>’ in the mask of the textfield ?

You really should start a new conversation for a new topic. Randomly inserting questions into unrelated topics is not a good way to get answers :wink:

Actually Stephen’s suggestion was for this topic ;-). If you put “>” in the mask property of a textfield it converts typed text into uppercase automatically (so no code is needed for it in the text change event).

Wow. Apologies to Stephen. Learned something again :slight_smile:

P.S. Why is that?

Why is what ?

If you put “>” in the mask property of a textfield it converts typed text into uppercase automatically (so no code is needed for it in the text change event).

Because thats what its documented to do ?
http://documentation.xojo.com/index.php/TextEdit.Mask

[quote=127534:@Norman Palardy]Because thats what its documented to do ?
http://documentation.xojo.com/index.php/TextEdit.Mask[/quote]
:slight_smile:
Thanks, but my imprecise question was more directed at: “Why? Is that some kind of standard like RegEx or is that something Xojo specific?”

[quote=127563:@Markus Winter]:slight_smile:
Thanks, but my imprecise question was more directed at: “Why? Is that some kind of standard like RegEx or is that something Xojo specific?”[/quote]

According to msdn, it is valid for all Microsoft languages.
http://msdn.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask(v=vs.110).aspx

To be more specific, the page I linked to cites C#,C++,F## and VB. Not Javascript.