keyboardActivated question
Posted: Fri Jan 21, 2011 5:39 am
Our app is almost to the beta point. I'm getting very fired up! This has been a lot of fun.
Here is my situation. We have a group with two fields in it and it covers most of the screen, and when a user touches a field, that sends a keyboardActivated message to the card. So in the card script I put something like this:
on keyboardActivated
-- change the location of the group to move it higher on the screen
end keyboardActivated
on keyboardDeactivated
-- change the location of the group back to it's original location
end keyboardDeactivated
This works awesome - the whole group slides up and the keyboard slides up, so the user can see the field they're typing in. There's just one problem. The user touches the first field and everything slides like it should, but WHILE the keyboard is on the screen if they touch the second field to move focus to it, it sends "keyboardDeactivated" and the keyboard goes away. Is there a better way to do this?
Here is my situation. We have a group with two fields in it and it covers most of the screen, and when a user touches a field, that sends a keyboardActivated message to the card. So in the card script I put something like this:
on keyboardActivated
-- change the location of the group to move it higher on the screen
end keyboardActivated
on keyboardDeactivated
-- change the location of the group back to it's original location
end keyboardDeactivated
This works awesome - the whole group slides up and the keyboard slides up, so the user can see the field they're typing in. There's just one problem. The user touches the first field and everything slides like it should, but WHILE the keyboard is on the screen if they touch the second field to move focus to it, it sends "keyboardDeactivated" and the keyboard goes away. Is there a better way to do this?