469,607 Members | 2,099 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,607 developers. It's quick & easy.

can't find implemented interface methods on an inherited form

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
Nov 20 '05 #1
1 1885
"skootr" <an*******@discussions.microsoft.com> schrieb
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

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eric Johannsen | last post: by
4 posts views Thread by C-Sharper or C-Hasher, one of the two | last post: by
2 posts views Thread by Rachel Suddeth | last post: by
6 posts views Thread by scottyman | last post: by
35 posts views Thread by erikwickstrom | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.