I'm having problems with variable inheritance (public), let's say
Public Var As ClassThatIsIndependent
The declaration above does not create any problems for myself, however, if I inherit a class that holds it
Implements BaseClass
I get the error "the object module must implement a variable for the interface". I tried these options (as inside ChildClass)
Public Var As ClassThatIsIndependent
and
Public BaseClass_Var As ClassThatIsIndependent
But none of them solves the problem. Any alternative? I am open to possible Set / Get solutions, however I would prefer to support Var as a public variable.
source
share