Below is code which is supposed to create a window with a graphic, and then refresh is every 3 seconds until the Control “run” is unchecked. It creates the window and does the continuous refresh, but unchecking “run” has no effect. Can any of you please point out what I’m doing wrong?
I think the problem you’re having is that Pause is a blocking operation, which results in it messing up the Manipulate. We can replace it and the While with a Dynamic with UpdateInterval and an If.