can't find implemented interface methods on an inherited form

G

Guest

I have a Public Interface defined in a class module. I also have a form that implements that interface

After building the solution, I added an Inherited Form (inherited from the above-mentioned form) to the project via the IDE

However, when I drop down the "(base class events)" list, I can't find the methods defined in the interface. I know the interface has been inherited because if I enter an "Implements" statement in the derived form's class module, I get a message saying that the interface is already inherited by the base class. Where are my methods! :

thanks in advance
 
A

Armin Zingler

skootr said:
I have a Public Interface defined in a class module. I also have a
form that implements that interface.

After building the solution, I added an Inherited Form (inherited
from the above-mentioned form) to the project via the IDE.

However, when I drop down the "(base class events)" list, I can't
find the methods defined in the interface.

Why do you expect the methods in the base class that implement the
members of the interface, to be listed among the "(base class events)"?
I know the interface has
been inherited because if I enter an "Implements" statement in the
derived form's class module, I get a message saying that the
interface is already inherited by the base class. Where are my
methods! :)

They are in the base class. :) Sorry, I don't see the problem. The base
class already implements the interface. What do you now want to do in the
derived class? Within the base class, you may declare the members
implementing the interface members as Overridable, so you can override them
in the derived class.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top