message box

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

message box

Post by adventuresofgreg » Mon Aug 23, 2010 4:37 pm

I used to put a status message with a variable in the message box so when I am processing a huge data file, I can watch the progress, but for some reason, this isn't working anymore. When I start to process a large text file, the app freezes up until the process is complete. I can't even post a progress message in a field - everything freezes as if I set the lockscreen to true (which I have not).

Does anyone know what's going on?

thanks,
Greg

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4174
Joined: Sun Jan 07, 2007 9:12 pm

Re: message box

Post by bn » Mon Aug 23, 2010 5:00 pm

Hi Greg,
try to issue a "wait 0 milliseconds with messages" after the "put myMessageBoxNotification". See if that helps. On very long processing Rev needs some time to do some housekeeping. Wait with messages gives Rev the opportunity.
regards
Bernd

adventuresofgreg
Posts: 349
Joined: Tue Oct 28, 2008 1:23 am
Contact:

Re: message box

Post by adventuresofgreg » Mon Aug 23, 2010 6:10 pm

Yes - thank you. That worked. I was able to see where my script was slowing down and optimize it.

Greg

Post Reply