
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