Ok, this may be a strange or even simple question, whoever I am still trying to grasp oop
When you have a defined class, you create an instance of it. I.e
Dim Myobject as new object
This now creates an instance of the class.
At this point does it actually execute any code withing the Class. I.E as soon as you created an instance of the class, could you for instance code 'msgbox('instance Created'). Not in the main programme, but in the class.
Whilst you probably would not want to do this, it is all about me understanding oop.
Thanks
When you have a defined class, you create an instance of it. I.e
Dim Myobject as new object
This now creates an instance of the class.
At this point does it actually execute any code withing the Class. I.E as soon as you created an instance of the class, could you for instance code 'msgbox('instance Created'). Not in the main programme, but in the class.
Whilst you probably would not want to do this, it is all about me understanding oop.
Thanks