realbasic-nug
[Top] [All Lists]

Re: Window open event and Constructor with Argument

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: Window open event and Constructor with Argument
From: BedeDurham <BedeDurham at aol dot com>
Date: Thu, 30 Jun 2005 21:21:40 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050701003536 dot 8F721B08F6B at lists dot realsoftware dot com>

In window1:

     dim w as window2
     w = new window2
     w.constructor( "successful" )

In window2 Constructor: (argument as string)

    MsgBox "string passed = " + argument
    Super.window()

In window2 Open() event:

   MsgBox "In Open()"


That's it. When run, the open() fires (prints the msgbox) , the Constructor fires (prints the msgbox), then open() again (prints the msgbox). I do not believe the first open should be firing before the Constructor.


Many thanks for any help.

On Jun 30, 2005, at 8:35 PM, realbasic-nug-request at lists dot realsoftware dot com wrote:


On Jun 30, 2005, at 11:24 AM, BedeDurham wrote:

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.

It's hard to help solve a problem like this without seeing the source
code you are using. Why not paste in your constructor method?

Mars Saxman
REAL Software


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