I’m having problems with my main window’s activate event recycling through some code.
I’m looking for gotchas for creating a static variable to stop it from going into a section of the event. This section is controlled by variables set outside of the event. The section is related to working on the app’s dictionary. What I would do is declare the variable at the head of event as true, and set it to false at the end of the event.
For instance I noticed a post https://forum.xojo.com/t/static-in-a-window-method/13762 which to me implied even after the window closed, that the variable existed. I think it was misstated. Am I correct?
Are there other things to consider?