On Jan 7, 2006, at 11:09 AM, Chuck Pelto wrote:

Now, the windows objects are getting error messages during compile that say that events ACTION or TEXT CHANGED are not legit events of their super class. The verbiage of the text is as follows...

pbUpdate on winInformation implements the event "Action", but its superclass does not declare such an event.

Looking at the object pbUpdate in the properties view, it is set to PushButton.

What's the problem here and how is it corrected?

You have code for the Action event in your Subclass. When you have code in a class events, REALbasic considers them to be "handled" and they do not get forwarded to the instance.

What you need to do to fix this is to add a new event definition, and name it Action(). Then in your Action event, you decide when the to call the Action event... it could be in the beginning or at the end of the other code you have there.

_______________________________________________
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>

Reply via email to