Constraining an input field's contents to be a single line.

Mike Kerner MikeKerner at
Thu Sep 21 22:34:45 EDT 2017

well, if you have tmc2, then native mobile fields are a breeze.  If you
don't, then they're still pretty easy once you make your first one.

On Thu, Sep 21, 2017 at 7:32 PM, Alex Tweedly via use-livecode <
use-livecode at> wrote:

> On 21/09/2017 16:14, Richard Gaskin via use-livecode wrote:
> Alex Tweedly wrote:
>> > I do not currently have "mobile text field objects" - all I have
>> > are just standard LC fields, so returninfield is all I need for
>> > the 'return' part of the problem - no need for 'inputReturnKey'.
>> If this is just for yourself then the following may not matter much,
>> since you know what to expect and can handle whatever you choose to make.
>> But if this app is for others to use, using a LiveCode-native field
>> instead of a mobile-native field will very quickly show why mobile-native
>> fields are important.
>> That's exactly what I've been missing - I've been fretting about one or
> two details of LC-fields on mobile, not realizing that there are
> overwhelming limitations that mean I should just forget about LC-native
> fields if mobile is a primary target.
> So now I need to go off and figure out the most appropriate way (for the
> short term) to handle having different controls for different platforms.
> So I've learnt a lot - but taken rather longer than I should have to
> realize I was counting angels on the wrong pinheads :-)
> Thanks to everyone for all the suggestions that helped to get me here.
> Alex.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

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