Hi,
If I have a base class, say called "MyBase" and a derived class called
"Myderived" is it possible to get the name of the derived class from the
base class
fo example if I have a method in "MyBase" called "fill" and this method is
not overridden in "Myderived" and I then create and object of my derived and
call the fill method in the base class, the is it possible for the for fill
method of mybase to know it was called from an object of type "Myderived"
what I want to do is set a varable in MyBase.fill to the name of the derived
class (not the name of the instance that called it.)
any help is appreciated.
Thsnk you in advance.
cheers
martin.