You have a recursive call somewhere.
It seems that timerplay_tick (and btnokay_clk/do_redrawpanels) is being called within itself.
Is it possible that you have a DoEvents inside ReDrawPanels, so while redrawpanels has not yet finished processing, another timer_tick is executed?
You have a recursive call somewhere.
It seems that timerplay_tick (and btnokay_clk/do_redrawpanels) is being called within itself.
Is it possible that you have a DoEvents inside ReDrawPanels, so while redrawpanels has not yet finished processing, another timer_tick is executed?