tomhosking
Well-known member
- Joined
- Aug 4, 2005
- Messages
- 49
- Programming Experience
- 1-3
I have a form and a class module, with basic controls for a log text box. When Button1 is clicked, the text in txtIn should be added to txtLogBox. The class module contains an overall class, and a
errorhandler class. I want the errorhandler class to be a subset of the overall class, and also to be able to "see" the form like the overall class can. I tried causing the sub class to inherit the overall one, but presumably that just sends it into an endless loop,
since each one will then create the other.
Effectively, I want to create objects within a class that can use variables from the parent, such as a form pointer.
Any help on this matter would be much appreciated!
errorhandler class. I want the errorhandler class to be a subset of the overall class, and also to be able to "see" the form like the overall class can. I tried causing the sub class to inherit the overall one, but presumably that just sends it into an endless loop,
since each one will then create the other.
Effectively, I want to create objects within a class that can use variables from the parent, such as a form pointer.
Any help on this matter would be much appreciated!