DesktopWindow's Implicit Instance should be turned off by default

I understand this for current users that use Window2.show but new users that never used Window2.show I don’t see the problem as they can change the default Window to Window2 and it should show.

Even the documentation where it says that Implicit Instance will be Off in a future Xojo version mentions what works.

I hope there are no examples with Implicit Instance On and use WindowX.show when finally Xojo changes to Implicit Instance to Off (I don’t know if there are Xojo examples like this at this time).

It will be interesting to see if Xojo finally ships a Xojo version with Implicit Instance Off or they update the Documentation and remove that information.

Back in topic:

  • OP wants Xojo to have Implicit Instance Off for Windows
  • the default window in a Desktop program works even with Implicit Instance Off
  • Implicit Instance Off will not affect new users trying Xojo with only 1 window
  • current users that use Window2.show will be affected
  • Xojo documentation mentions that a future version of Xojo will have Implicit Instance Off
    I guess is just a wait time at this moment.

I read Greg’s comment as “if all windows have implicit instance turned off, and being the default window means its implicit instance is on, it’ll confuse a beginner that other windows need to be created using “new ThisWindow” but the default window won’t”, regardless of which among Window1, Window2 or WindowYetAnother is the default one.

You’re assuming that those users will only ever want to use one window.

No. I’m assuming new users (when Xojo ships with Implicit Instance Off) will follow the documentation and will be able to use more windows. Creating the instance as needed.

It is clear that the default Window will work different as other windows.

Guess what the user doesn’t need to use Window1.Show either, so now using Window2.Show is already different that what the system does for Window1.

1 Like

Sorry I’ve had a fall and broken my shoulder. I tripped on some broken pavement.

1 Like

Ouch. Hope you feel better.

Fair point.

Just had a call and I’ve got to go the fracture clinic, have more X-rays and possibly an op.

Sad event, but everything will be sorted out. I wish you get well soon, Ian.

Wow, I’m sorry this happened to you. I hope you get better soon.

Thank you all

Get well soon.

Thanks