` 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 21, 2024, 10:06 am
This article has been viewed/printed 35220 times.