The Message is generated by javascript. I cannot close a page after leavong it to another page without this errormessages. This is annying cause I would have to reset all the stuff done within the page before what is like garbadge collecting and makes it really uncomfortable to work with.
Messages like this are coming up from time to time. This one has inside:
Could not execute returned javascript: userContents is null
Source: Xojo.controls[‘cYxDKGit’].deleteAllRows();
Xojo.view.showPage(‘hTZ6JjeO’);
document.title = “Menue”;
Xojo.refreshControl(‘iBIhRfEs’);
Xojo.refreshControl(‘QwPM3sFv’);
Xojo.refreshControl(‘FgfMYaNV’);
Xojo.refreshControl(‘VNCy8im1’);
Xojo.refreshControl(‘bCbj17BU’);
Xojo.refreshControl(‘D5Lohz5q’);
Xojo.refreshControl(‘T9eQFFj4’);
When not saying page.close then the error is not coming up. This makes it impossible to close a page and reload and means all in this page used variables have to be cleaned by Hand, otherwise you will have them active later when you visi this page again.
Well the reason I bring this up is that when you call Close on an implicit instance, things get destroyed that will not be recreated. In this case it is better to simply Hide the page. If you need a new, fresh copy every time, it is usually better to turn off Implicit Instance.
But I have than also to call the page as instance. The normaly used way to open a page is not working as espected. So I would have to rewrite mouch stuff and so I have to decide to do garbadge collection instead of.