Passing text from field to field Livecode 9

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
altamative64
Posts: 1
Joined: Thu Oct 25, 2018 4:23 pm

Passing text from field to field Livecode 9

Post by altamative64 » Thu Oct 25, 2018 4:26 pm

Hello all!

I am baffled on how to do something so easy.

So I have used livecode 6.3 forever -- I just got comfy with it. But, then I hear all the great things that livecode 9 can do, so I rush out and download it.

Now, I feel like a total moron because I cannot pass text at all... the easiest of tasks.

I literally just made a button and two fields to make sure I was not going crazy.

Button Code:

Put the text of field "raw" into field "raw 2"


It does nothing anymore... Please help!!!

ClipArtGuy
Posts: 253
Joined: Wed Aug 19, 2015 4:29 pm

Re: Passing text from field to field Livecode 9

Post by ClipArtGuy » Thu Oct 25, 2018 4:33 pm

This is working as expected here in LC 9.01

Code: Select all

on mouseup
Put the text of field "raw" into field "raw 2"
end mouseup

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9656
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Passing text from field to field Livecode 9

Post by dunbarx » Thu Oct 25, 2018 5:25 pm

Hi.

There is nothing syntactically wrong with that line. Are you sure there are no typos in your actual handler?

Just to let you know, I always just:

Code: Select all

put field "raw" into field "raw 2"
Craig Newman

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”