here is what i have done to my gui programs where modeless dialogs are created,
the MODELESS DIALOG seems to create bad cpu usage.
DO
DIALOG DOEVENTS TO Count&
IF SLOWDOWNCOUNT& MOD 10000 =0 THEN SLOWDOWNCOUNT&=0:SLEEP 1
INCR SLOWDOWNCOUNT&
LOOP UNTIL Count&=0
My question is since i have first placed sleep 1 statements into the DO EVENTS LOOP.
What seems to be the best code for all computers inside the loop
i wanted to get some feedback in this area across the board.
thanks paul
the MODELESS DIALOG seems to create bad cpu usage.
DO
DIALOG DOEVENTS TO Count&
IF SLOWDOWNCOUNT& MOD 10000 =0 THEN SLOWDOWNCOUNT&=0:SLEEP 1
INCR SLOWDOWNCOUNT&
LOOP UNTIL Count&=0
My question is since i have first placed sleep 1 statements into the DO EVENTS LOOP.
What seems to be the best code for all computers inside the loop
i wanted to get some feedback in this area across the board.
thanks paul
Comment