drag a line of text

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
itay1023
Posts: 68
Joined: Fri Sep 28, 2012 1:44 pm

drag a line of text

Post by itay1023 » Sun Dec 30, 2012 3:40 pm

Hello everyone,
Does anyone know how to make a text field can drag a line of text from top to bottom and everywhere you want?

Thanks in advance,
Itay

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: drag a line of text

Post by FourthWorld » Sun Dec 30, 2012 4:12 pm

That's the default behavior for field objects. Is that not what you're seeing?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 157
Joined: Thu Jun 29, 2006 4:16 pm

Re: drag a line of text

Post by Randy Hengst » Sun Dec 30, 2012 4:50 pm

Itay and Richard... I didn't know that the ability to drag a line of text within a field object was default behavior. I can't see that property setting anywhere. Is that something available in iOS that I've never seen? If so, that would be cool.

In projects not developed for iOS, I've made use of Scott Rossi's "Get In Line" tutorial... http://www.tactilemedia.com/index.html? ... rials.html

be well,
randy

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10044
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: drag a line of text

Post by FourthWorld » Sun Dec 30, 2012 5:21 pm

My bad: I didn't notice that this was posted in the iOS forum. While LiveCode supports normal drag-and-drop behaviors by default on the desktop, that convention isn't present in iOS.

If the request is not for editable text but for list fields specifically, Rossi's example stack is indeed a great starting point.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply