New topic: 

Event Definition not found after copying class to other proj

<http://forums.realsoftware.com/viewtopic.php?t=39819>

         Page 1 of 1
   [ 4 posts ]                 Previous topic | Next topic          Author  
Message        Kabe          Post subject: Event Definition not found after 
copying class to other projPosted: Wed Jul 13, 2011 12:17 am                    
             
Joined: Mon Apr 09, 2007 2:49 pm
Posts: 177                I have a subclass of WebImageView which declares an 
Event, which is then used inside a WebContainer, and which work and compile 
fine in a small testbed app.

After copying the container and the class to my main project, the event seems 
to be undeclared, the compiler moans, but the vent definition is still there.

Any thoughs?

Thanks

Klaus   
                             Top                Kabe          Post subject: Re: 
Event Definition not found after copying class to other Posted: Wed Jul 13, 
2011 12:21 am                                 
Joined: Mon Apr 09, 2007 2:49 pm
Posts: 177                The event is named "StateChanged", and the compiler 
moans that the instance 

"...implements the event "StateChanged", but its superclass Tristate does not 
declare such an event."

Of course Tristate does declare the event...   
                             Top                swort          Post subject: 
Re: Event Definition not found after copying class to otherPosted: Wed Jul 13, 
2011 12:23 am                         
Joined: Mon May 31, 2010 5:35 am
Posts: 1271
Location: Netherlands                Kabe wrote:The event is named 
"StateChanged", and the compiler moans that the instance 

"...implements the event "StateChanged", but its superclass Tristate does not 
declare such an event."

Of course Tristate does declare the event...

is Tristate actually your SuperClass? wasn't that the SubClass?      
_________________
SWORT™
- Windows Vista, Windows XP, Linux Ubuntu 10.04 LTS and iMac OSX 27"
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (almost all)
For Dutch User Groups ask me to enter!
Completely free functions by the community: 
http://forums.realsoftware.com/viewtopic.php?f=1&t=36396&hilit=dutchtools+free  
                             Top                 Kabe          Post subject: 
Re: Event Definition not found after copying class to other Posted: Wed Jul 13, 
2011 12:55 am                                 
Joined: Mon Apr 09, 2007 2:49 pm
Posts: 177                Yep... but the issue was elsewhere: An earlier 
version of that class was already in the project, which indeed did not declare 
the event...

RB could have warned in inserting it, but after all the error was between chair 
and keyboard.

Thanks anyway

Klaus   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 4 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to