Hi Keith,

IMHO it's not the statictext, i tried your example with an editfield with the same result, only that with the editfield the problem shows after more than 200,000 iterations and with the statictext it started with 100,000 to 150,000 iterations on my pc with xp sp2.
So I guess there is something else going on:
replacing your code with:
 dim x as double
 dim running as boolean

 running = true
 while running
   x = x + 1
   editfield1.text = str(x)
if x mod 10000=0 then editfield1.Refresh end if if UserCancelled then exit
 wend

this code can run millions of iterations without a problem. As you can see I do the refresh only once every 10,000 iterations and i think there is the problem. If you leave out the if mod-clause then after about 200,000 RB is sending his refreshes ins nirwana. IMO it's the windows graphics-engine that cannot keep up with the flood of changes or RB doesn't 'wait' till windows signals that the highway is free.

This are just my findings, I hope it helps solving the nasty print-problem on windows xp which looks related to this problem, at least to me.

Warm regards,
Andre


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to