On May 31, 2005, at 2:30 PM, Ross at Webwolves wrote:
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?
No, not quite like that. Only the class that declares an event can
invoke the event. Window calls its own Open event, which DPWindow
then implements. You said that FrmMain implements an Open event, too,
which means that DPWindow must have declared one. Since DPWindow
declared it, DPWindow needs to call it; the syntax for calling an
event is the same as the syntax for calling a 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>
|