LucieLastic
Programmer
hi All
My boss has just asked me why his method could not be seen from another unit. The method's declaration is Public and he has the unit in his USES clause.
My reply is that he needs prefix the call with the class name eg, Hisclass.hismethod.
He then asked me why this doesn't have to be done with everything else, like ShowMessage or writelns etc. I really didn't know why, is it because these are imported from a DLL ?
Sorry, I should know the answer but don't, one can't know everything
I'm interested to know why?
lou
My boss has just asked me why his method could not be seen from another unit. The method's declaration is Public and he has the unit in his USES clause.
My reply is that he needs prefix the call with the class name eg, Hisclass.hismethod.
He then asked me why this doesn't have to be done with everything else, like ShowMessage or writelns etc. I really didn't know why, is it because these are imported from a DLL ?
Sorry, I should know the answer but don't, one can't know everything
I'm interested to know why?
lou