It sounds to me like your destroying a reference to the window before
an child object of that window can finish executing code, but it's
very hard to know what is going on without
A) Seeing your code
and
B) Seeing a crash log
Cheers,
Tom Benson
On 30/11/2006, at 6:54 PM, Pelayo wrote:
Hi:
The main window have this call to other window:
windowmessage.show (windowmwssag can be a movable or document
window)
The "windowmessage" windows, in its open method, has several
graphic calls (drawstring ) directed to ownself, etc. and ends with
the metod: self.close.
With this scheme, the main window calls the "windowmessage" window
which draws strings in its own and then closes because the
self.close method.
Well, this has been functioning with RealBasic 4.5 .
But now I have RealBasic 2006 r4 and the the above does not
function, the application breaks down. Apparently, the self.close
call is the problem. But I tried to change self.close by self.hide
and the applicationn does not break but the windowmessage window
remains visible and in the front.
Which is wrong in my code?
Thanks,
Pelayo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>