I've noted that the iOS keyboard will automatically set the keyboard to capitalize when entiring text for the first time. How do I turn this auto shift lock off?
Scott
ios auto shift key lock
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: ios auto shift key lock
Hi Scott,
This is currently impossible with standard LiveCode fields. However, you have two options.
You can use the toLower function after the user has entered the text:
or you can use a UITextField, which has am autoCapitalization property. If you set this property to false, the first character won't be capitalised automatically.
Kind regards,
Mark
This is currently impossible with standard LiveCode fields. However, you have two options.
You can use the toLower function after the user has entered the text:
Code: Select all
put toLower(fld x) into fld x
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: ios auto shift key lock
I read the lesson on UITextField...my brain hurts. This isn't actually a field, or is it? I saw another post from Dixie saying that it "floats above" LC? Can anyone take a stab at helping me understand this?
Re: ios auto shift key lock
teacherguy..
I have attached a stack that has a UITextField in it. I have commented the script, which is in the card script. The UITextfield is described on page 57 of the iOS release notes.
hope this helps,
Dixie
I have attached a stack that has a UITextField in it. I have commented the script, which is in the card script. The UITextfield is described on page 57 of the iOS release notes.
hope this helps,
Dixie
- Attachments
-
- UIInputText.livecode.zip
- (2.46 KiB) Downloaded 276 times
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: ios auto shift key lock
Ah! OK, so let me see if these assertions are correct:
The UITextField is something that exists in iOS, not Livecode
The rectangle graphic is really just for the user, there is no interaction between it and the UITextField
The UITextField is something that exists in iOS, not Livecode
The rectangle graphic is really just for the user, there is no interaction between it and the UITextField