So, I've been working on an app for a little while now and am almost there (I think) with the exception of one small bug. I've got some fields towards the bottom of my card that I want users to be able to type in. Unfortunately, when they press in the app to type in the field, the keyboard pops up and hides the field, so my users don't know if there's any issues with what they're typing . I've looked into some other stuff and found out that the keyboard takes up 264 pixels, but I can't for the life of me figure out how to change the location of the stack - for some reason whatever I'm trying just doesn't want to work
Hi Opaquer,
Yes, if you use the keyboard you can't verify what you type if the fld is in the area's keyboard.
When I meet this problem I use a group with a vertical native scroller
Best regards
Jean-Marc
So there's no way to make the fields automatically move up by 264 pixels when the keyboard is opened? That's annoying and inconvinient . I'll keep working on it though! I just wish there was a way to automatically detect which fields needed moving and move the screen up
Hi Opaquer,
There are plenty of post around here on how to do this.
"get the effective working screenRect" --figure out how high you have to move the field then move it.
If using in a field script you have to delay it a bit so that the keyboard has a chance to move all the way up.
Avoid using keyboardActivated and his brother, they both ignore a "soft" keyboard down.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Didn't I read somewhere that if acceleratedRendering is set to true, the fields will move automatically when the keyboard appears? I haven't had time to test that yet.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Wow Jacque is quoting ME!??? I'm so cool now.
Yes, this happens on Android only, with accleratedRendering set to true the fields will move up by themselves.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!