Standalone "Not Responding"

Magicgate Software - Skip Kimpel skip at magicgate.com
Tue Jul 22 10:10:08 EDT 2014


Is it proper to use the "wait 0 millisecs with messages" within the loop OR
is this a global setting I should apply to the stack?

What are the ramifications of this, if any?

Thanks!

SKIP


On Tue, Jul 22, 2014 at 10:00 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

> Hi,
>
> While using repeat loops, include the line
>
> wait 0 millisecs with messages
>
> at the end of your repeat loop (before end repeat). This will give your
> app some time to update the GUI and to communicate with the OS.
>
> If you're downloading large amounts of data from a website, consider using
> PHP to execute the query. Use the load command to retrieve the data and use
> the urlStatus function to display progress. The load also allows you to use
> a callback message, which makes it possible to implement a fully
> non-blocking solution.
>
> Alternatively, download smaller amounts of data (but that alone isn't an
> option, if the server needs a long time to execute the query).
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Installer Maker for LiveCode:
> http://qery.us/468
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> LiveCode on Facebook:
> https://www.facebook.com/groups/runrev/
>
>
> On 7/21/2014 20:24, Magicgate Software - Skip Kimpel wrote:
>
>> Good afternoon LC'ers
>>
>> I have a few Windows standalones that, when processing large amounts of
>> data or making large data calls to a SQL server, will sit there with (Not
>> Responding) in the title bar and the application seems to freeze up.
>>
>> Help?  Some simple setting, I am sure....
>>
>> SKIP
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list