I don't know if it is simple or not, but you need to call Open in your
Open event in order to propagate the call on up the chain.
I assume you mean that the DPWindow class must call the Open event of the
superclass (i.e. Window). If so, what is the syntax?
I've tried many variations of Super.Open, this.Open, self.Open, etc. All
whistling in the dark so far. :-)
Thanks,
== Ross ==
----- Original Message -----
From: "Will Leshner" <leshner at ljug dot com>
To: "Ross at Webwolves" <ross at webwolves dot com>; "REALbasic Plugins"
<realbasic-plugins at lists dot realsoftware dot com>
Sent: Tuesday, May 31, 2005 2:27 PM
Subject: Re: Subclassing Window
On May 31, 2005, at 2:15 PM, Ross at Webwolves wrote:
Now, I have created a window in my application called FrmMain, and its
type is DPWindow. FrmMain has an Open event, too. Unfortunately, it is
not getting called. The DPWindow class Open event is being called, which
makes sense, but how can I get the FrmMain.Open to be called, too?
I'm just missing something simple, I know. :-)
I don't know if it is simple or not, but you need to call Open in your
Open event in order to propagate the call on up the chain.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
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>
|