updating progress to user during long handler

Richard Gaskin ambassador at fourthworld.com
Fri Feb 26 17:33:03 CET 2016


jameshale wrote:

 > Kay C Lan wrote
 >> Now test some 'descending' wait after the text has been placed in the
 >>> field:
 >>
 >> wait 1 sec
 >> wait 1 tick
 >> wait 1 millisec
 >>
 >> See if you can come to a compromise that allows the screen to refresh
 >> without slowing the code.
 >
 > I had tried a one second delay before my first post.
 > It had no effect (except for taking longer😊)

Is it possible that the lockScreen is being set somewhere in the scripts 
running during that loop?

You might add something like "put the lockscreen" somewhere in the 
middle of the code, and if it's true then you know it's set before then; 
if it's false move it down further and repeat the test.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list