Page 1 of 1

without waiting

Posted: Tue Dec 11, 2012 2:31 am
by cusingerBUSCw5N
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

Re: without waiting

Posted: Tue Dec 11, 2012 2:59 am
by Simon
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

Re: without waiting

Posted: Tue Dec 11, 2012 5:28 am
by cusingerBUSCw5N
cool. Thanks

Re: without waiting

Posted: Tue Dec 11, 2012 2:16 pm
by Klaus
Hi Carolyn,

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


Best

Klaus