realbasic-nug
[Top] [All Lists]

Window open event and Constructor with Argument

To: realbasic-nug at lists dot realsoftware dot com
Subject: Window open event and Constructor with Argument
From: BedeDurham <BedeDurham at aol dot com>
Date: Thu, 30 Jun 2005 14:24:38 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050630170039 dot B63E6B05265 at lists dot realsoftware dot com>
Contrary to what many have told me, I cannot get this to work. Would someone with more experience than I please check this for me. In a program I create a widow using explicit instantiation so that I can pass a string to its constructor. (A window using implicit instantiation can't be passed an argument.) Now, here is the key that in my tests keep it from working. In the window with the constructor (which is being passed the string), also put a messagebox (or anything according to my tests) in the Open() event of the window. When the window's constructor is called, the open() event gets called before the constructor. In fact, the open() event will get called again after the constructor (because it contains super.window()).

ANY help or verification would be greatly appreciated.

_______________________________________________
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>