Keyboard issue.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Keyboard issue.
When I call the keyboard to be opened, it is automatically in caps lock mode. Is there any way to turn this off?
-
- VIP Livecode Opensource Backer
- Posts: 149
- Joined: Thu Feb 23, 2006 8:49 pm
- Location: Bethel Park, Pittsbrugh, Pennsylvania USA
- Contact:
Re: Keyboard issue.
I use
iphoneSetKeyboardType "alphabet"
it is not initial cap or caps lock when opened fro a field.
NOTE: you have to call this before opening the keyboard in a field. It will not effect the currently displayed keyboard. Just the next one.
Tom
iphoneSetKeyboardType "alphabet"
it is not initial cap or caps lock when opened fro a field.
NOTE: you have to call this before opening the keyboard in a field. It will not effect the currently displayed keyboard. Just the next one.
Tom
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
Lazy River Software
3mcgrath@comcast.net
Re: Keyboard issue.
I tried putting that before the field was called but it still opens in CAPS lock mode.
-
- VIP Livecode Opensource Backer
- Posts: 149
- Joined: Thu Feb 23, 2006 8:49 pm
- Location: Bethel Park, Pittsbrugh, Pennsylvania USA
- Contact:
Re: Keyboard issue.
Is this in the simulator or on a device?
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
Lazy River Software
3mcgrath@comcast.net
Re: Keyboard issue.
Both. I have a screen with one text box. When the user clicks it, it opens the keyboard as usual. But the keyboard being opened, starts in all caps. I tried switching the keyboard type but that didn't work.
Re: Keyboard issue.
Keyboard support is dismally weak right now... Has anyone found a way to handle auto-capitalization after punctuation?
Check out my LiveCode program, WriteSpire, on the App Store!
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Keyboard issue.
Yes, and notice too that the shift key is not solid blue (which it would be for caps lock) but rather is outlined blue, which should then change after typing the first character. But it does stay locked. I notice that coming back into the field later...the keyboard behaves normally.dburdan wrote:Both. I have a screen with one text box. When the user clicks it, it opens the keyboard as usual. But the keyboard being opened, starts in all caps. I tried switching the keyboard type but that didn't work.
-
- Posts: 379
- Joined: Thu Dec 08, 2011 2:43 am
Re: Keyboard issue.
OK here is my workaround for getting rid of the shift key being locked on the first appearance of the keyboard. I created a custom property for the field called clearShift, then I put this handler in the card script:
Code: Select all
on keyboardActivated
if the clearShift of field "My Field" is false then
focus on nothing
set the clearShift of field "My Field" to true
focus on field "My Field"
exit keyboardActivated
else
pass keyboardActivated
end if
end keyboardActivated
Re: Keyboard issue.
Thank you very much for your code!teacherguy wrote:OK here is my workaround for getting rid of the shift key being locked on the first appearance of the keyboard. I created a custom property for the field called clearShift, then I put this handler in the card script:
Code: Select all
on keyboardActivated if the clearShift of field "My Field" is false then focus on nothing set the clearShift of field "My Field" to true focus on field "My Field" exit keyboardActivated else pass keyboardActivated end if end keyboardActivated