I've run into a bit of a snag with mobGUI. I really like how it's been working so far, but wondered if anyone else has tried to set it such that a multiline input, or input field will move up when the keyboard is activated.
I've managed to get it such that the rectangle behind the multiline input, and the confirm button will move to the desired location, but the multiline input field remains stationary... wondered if there was something i'm missing. when just trying to move the multiline input field i use the following:
Code: Select all
on openCard if environment() = "mobile" then mobileControlCreate "input" put the result into sinputID mobileControlSet sinputID, "-4,473,326,575" mobileControlSet sinputID, "visible", "true" mobileControlSet sinputID, "opaque", "true" end if end openCard on keyboardActivated mobileControlSet sinputID, "rect", "-4,256,326,358" set the rect of group "input" to "-4,256,326,358" end keyboardActivated on keyboardDeactivated mobileControlSet sinputID, "rect", "-4,473,326,575" set the rect of group "input" to "-4,473,326,575" end keyboardDeactivated
Thank you in advance!