Hello CALL-151,
I've struggled with your problem for a while now.
Sorry to say, but I don't think that it cannot be done as you've described it.
As you know, LiveCode has serious limitations related to its mobile functionality.
When you create a native mobile control, it sits over all of other controls.
I tried to create a scroller and multiline text,
then set the vScroll value of multiline text to the vertical offset of the scroller control.
something like this:
Code: Select all
on scrollerDidScroll pX, pY
iphoneControlSet "theMultilineText", "vScroll", pY
end scrollerDidScroll
But as I said, native mobile controls doesn't have any layer functionality.
The one that you created last, is the only one which you can interact with.
If you create your controls as:
Code: Select all
on preOpenCard
createTheMultilineControl
createTheScrollerControl
end preOpenCard
You can scroll the content of the screen, whatever it is, but you can't interact with the multiline control.
And if you create the controls as:
Code: Select all
on preOpenCard
createTheScrollerControl
createTheMultilineControl
end preOpenCard
Then you can edit your text i.e. interact with the multiline control, but nothing related to the scroller control which you've created.
So, it cannot be done as you've described it.
You have to give up to either functionality or appearance.
If you decide to give up functionality; I mean, auto-correction etc. then you can use my attached stack.
It displays a static text but the code can be tweaked to allow editing.
Hope it helps...
If you have any questions about my code, I'll be happy to answer.
Best,
~ Ender Nafi Elekçioğlu