realbasic-nug
[Top] [All Lists]

self.close a window causes app to break in 2006 r4

To: realbasic-nug at lists dot realsoftware dot com
Subject: self.close a window causes app to break in 2006 r4
From: Pelayo <pcg at uniovi dot es>
Date: Thu, 30 Nov 2006 08:54:45 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
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>


<Prev in Thread] Current Thread [Next in Thread>