PauseForUser blocking old style button action procedure
Mon, 03/25/2019 - 09:02 am
I have some ancient code that unfortunately uses PauseForUser to create a modal-ish dialog. I fear that the 'tricky and potentially fragile code inside Igor' (DisplayHelpTopic "Pause For User") is not playing nicely with my code.
Let's say I have PauseForUser Panel1
Panel1 contains a button ("done") with an old style button action procedure that kills Panel1.
The button action procedure doesn't run unless I halt procedure execution with the command-period keystroke. For most users Igor will appear to be locked.
Has my code been broken in a recent (or not so recent) update? What is the best way (short of recoding to get rid of pauseforuser) to make a quick fix?
OS:Macintosh OS X