IMPLEMENTING AN INTERFACE MADE FROM ANOTHER INTERFACE 
Author Message
 IMPLEMENTING AN INTERFACE MADE FROM ANOTHER INTERFACE

Hi, I was told that Visual Basic is pretty bad at implementation
inheritance, but it does support interface inheritance. I'm used to
programming in Java, where you have the "extends" keyword that's all
encompassing. But with Visual Basic, it's more muddled. I created an
interface "IGeneralObject" and then the "IChart" interface which
implements "IGeneralObject" and then I tried to create a concrete
class "BarChart" from "IChart" and here's my problem: I have a
property named "ShortDescription" in IGeneralObject, and
"IGeneralObject_ShortDescription" in IChart, but when I put in
"IChart_IGeneralObject_ShortDescription" in BarChart, VB wouldn't take
it. Is there some way around this? Like delegation or something? Or
maybe a wrapper? Please help! Thanks!

Mil



Fri, 28 Jun 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Implementing an interface made from another interface

2. IMPLEMENTING AN INTERFACE MADE FROM ANOTHER INTERFACE

3. Implementing an interface made from another interface

4. Implementing IUnknown interface in Access 2000 class

5. Implementing interfaces

6. Implementing the IEnumerator interface in my custom class

7. Cannot implement Interface

8. Implementing IList interface

9. Compile time checking that a type implements an interface

10. implementing interfaces

11. problem implementing GetEnumerator in IDictionary interface

12. Implemented Interface Method Auto Insertion?

 

 
Powered by phpBB® Forum Software