realbasic-nug
[Top] [All Lists]

Re: Window open event and Constructor with Argument

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Window open event and Constructor with Argument
From: Will Leshner <will at haranbanjo dot com>
Date: Thu, 30 Jun 2005 19:12:03 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20050701003536 dot 8F721B08F6B at lists dot realsoftware dot com> <f882d9e7716752d9f003c1830be8133c at aol dot com>

On Jun 30, 2005, at 6:21 PM, BedeDurham wrote:

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

See how useful it is to post code :) When you say "new Class" you've already called the default constructor. In general, constructors aren't something you need to call yourself, unless, for example, you are in one constructor and you want to call your parent's constructor. I'm sure there are other interesting cases, but it's kind of an advanced topic.
_______________________________________________
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>