realbasic-plugins
[Top] [All Lists]

Re: Two Close Events

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: Two Close Events
From: Mars Saxman <mars at realsoftware dot com>
Date: Tue, 12 Jul 2005 12:41:26 -0700
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <4944E03B-8AEA-4174-B7BF-BD6B58543040 at freaksw dot com>

On Jul 12, 2005, at 12:30 PM, Seth Willits wrote:

Well, I've gotten around the plugin not loading by just putting the dylib in the plugins folder, but now I've got another problem. This control of mine has two Close events and one Open event.

I'm not sure what you mean by "two Close events"; you can't overload events.

There's nothing else anywhere in my plugin named Open, and the events structure is simply:

REALevent ControlEvents[] = {
    { "Open()" },
    { "Close()" }
};

Normally your control would inherit the Open and Close events from its superclass. Did your control implement the inherited events already? If not, then your new events will conflict with the inherited ones, and that could be the cause of the error you're seeing.

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>