papadilbert
New member
- Local time
- Yesterday, 20:56
- Joined
- Nov 29, 2011
- Messages
- 8
In my base class (clsBase) I have Public aProperty As String and the Let and Get skeleton property methods.
In the derived class (clsDerived) I coded Implements clsBase.
I coded the Let and Get property methods, prefixing them with clsBase_xxxx.
That works great.
I can't figure out how to write the code in the derived class to refer to the base class property aProperty.
When I compile I get the following error in the derived class:
"Object module needs to implement 'aProperty' for the interface 'clsBase'
Following the pattern for methods being prefixed with the name of the base class I tried coding:
Dim clsBase_aProperty as String
That didn't work.
I know how to implement a method. How do I implement a property?
In the derived class (clsDerived) I coded Implements clsBase.
I coded the Let and Get property methods, prefixing them with clsBase_xxxx.
That works great.
I can't figure out how to write the code in the derived class to refer to the base class property aProperty.
When I compile I get the following error in the derived class:
"Object module needs to implement 'aProperty' for the interface 'clsBase'
Following the pattern for methods being prefixed with the name of the base class I tried coding:
Dim clsBase_aProperty as String
That didn't work.
I know how to implement a method. How do I implement a property?