iOS multi-line input field

Mike Kerner MikeKerner at roadrunner.com
Mon Jul 30 17:06:03 CEST 2018


Second one:  I've had a similar problem.  I think there's a QR for it
First one:  Try moving your handler to inputEndEditing, just for giggles

On Sun, Jul 29, 2018 at 6:30 PM J. Landman Gay via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I'm looking at a stack with a multi-line input field in the iOS
> simulator. A handler shows a group and creates a multi-line input in the
> correct location, but as soon as I tap into the field to type the group
> is hidden.
>
> There is only one command anywhere in the stack that hides the group and
> it is in a keyboardDeactivated handler. But the keyboard never activates
> in the first place, so that handler never triggers.
>
> Is this a simulator issue? Here are the settings for the multi-line input:
>
>    show grp "noteEntry"
>    put calcInputControlPadding(8) into tInputRect -- calcs a display rect
>    mobileControlCreate "multiline","usernote"
>    mobileControlSet "usernote","rect",tInputRect
>    mobileControlSet "usernote","opaque",false
>    mobileControlSet "usernote","visible","true"
>    mobileControlSet "usernote","editable","true"
>    if the platform = "iPhone" then
>      mobileControlSet "usernote","backgroundcolor","255,255,255,0" --
> transparent
>      mobileControlSet "usernote","delayTouches","true"
>    end if
>
>
> LC 9.0.1 (rc 1), Mac 10.13.4, XCode 9.4.1, simulator iPhone 7 (11.4).
>
> Another issue:
> If I make script changes, set breakpoints, save the stack, and test, the
> remote debugger triggers but the script that is shown is older and
> doesn't include the new changes. I have to quit and re-launch LC to
> debug the changes. Is there a way to force the remote debugger to
> recognize the altered script?
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."


More information about the use-livecode mailing list