` Prevent white screen after switching to another app and back (Terry Steadman ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is April 19, 2024, 6:34 pm
This article has been viewed 35110 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: