First thing I’d try would be to quit Xojo and open it again. The IDE can go wonky after running for many days (in my experience). Then again I’ve never experienced controls suddenly switching to private.
But that setting only determines how private scope is indicated, not whether the scope is private in the first place. I understood that Emile hadn’t actually changed the scope himself.
NB: once I set all existing Controls on the window to Global, all added Controls uses that.
Do you noticed the color: more Light Pink than Red.
Happens to all new Projects since some times (a month, more ?).
Sometimes, I create a simple project only to test a Function / Feature, see if I love the idea.
Indeed the IDE assumes that you want a new item to share the scope setting you’ve used the last time. Which often happens to be true, but at times I’ve added a couple of private methods and finally a constructor – that wouldn’t work of course until I had changed its scope to public.
It surprises me, but Save As (XML in that case), stays as is for the next save(s).
I was used to “Save As…” to a new name (new Ext°, but keeps its default.