without waiting

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
cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

without waiting

Post by cusingerBUSCw5N » Tue Dec 11, 2012 2:31 am

I saw in the daily tutorials that there is something called "without waiting" that is used for animation so that things continue to process while Livecode is performing a process.

I want to confirm that this would work with a query. I want to do a remote query and load some images, but I don't want someone to have to wait. So, I'd like to do the query but have everything else continue - and then use the results of the query and display the images at a later time.

I have tried

put "mywebsite.cfm?phase=plan&cx=longviewdemo" into turl
put url(turl) into tthis without waiting

Will this work?

Thanks

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

Re: without waiting

Post by Simon » Tue Dec 11, 2012 2:59 am

I don't know if this will work in your specific case but

Code: Select all

load URL "http://mysite.com"
load is non-blocking so the handler will continue.

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

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: without waiting

Post by cusingerBUSCw5N » Tue Dec 11, 2012 5:28 am

cool. Thanks

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: without waiting

Post by Klaus » Tue Dec 11, 2012 2:16 pm

Hi Carolyn,

"without waiting/messages" only works with "move", so "load" is the way to go in your case!


Best

Klaus

Post Reply