` Printed Icetips Article

Icetips Article



Par2: Prevent white screen after switching to another app and back
2004-07-27 -- Terry Steadman
 
Inserting a Yield within your process loop will also help keep your 
window looking good.

I = 0
Loop
  :

  :
  I += 1
  If Not I % 100 Then ! When I is divisible by 100.
    Yield
  End
End

This will let your window refresh properly, but then you can not move 
the window while locked within the process.  you can adjust the modulus 
for if you want the yield to happen more or less.



Printed November 23, 2024, 2:22 am
This article has been viewed/printed 35222 times.