How to create a textfield w/finger scrolling and editing

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Sjatplat
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 75
Joined: Wed Jun 22, 2011 1:53 pm

How to create a textfield w/finger scrolling and editing

Post by Sjatplat » Tue Aug 11, 2015 11:41 am

Hi

I need some advice to create a text field with the ability to finger scroll AND edit. Like the built in "text view" in Xcode. I want this to work for both iOS and android. In some of the various examples I´ve found - finger scrolling only works when the lock text of the field is true....

Sjat

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: How to create a textfield w/finger scrolling and editing

Post by Simon » Tue Aug 11, 2015 3:22 pm

Hi Sjat,
Have you tried mouseDoubleUp?

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: How to create a textfield w/finger scrolling and editing

Post by MaxV » Tue Aug 18, 2015 1:38 pm

You just create a native control multiline:

Code: Select all

mobileControlCreate "multiline", "myMultiLineTextInput"
See http://lessons.runrev.com/m/4069/l/2911 ... -on-mobile
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply