Board index » delphi » Help: class method not calling correct descendent Create method
gaver...@chsra.wisc.edu (Gerard M. Averill)
![]() Delphi Developer |
Mon, 07 Dec 1998 03:00:00 GMT
Help: class method not calling correct descendent Create methodI've got a base class defined: TBaseClass = class of TBase; and several derived classes: TDerivedA = class(TBase) TDerivedB = class(TBase) Note that none of the derived classes have overriden the "New" method, which class procedure TBase.New(...); When I call, for example, TDerivedA.New(...), the TBase.New method is called Anyone know why this isn't working? Incidently I (successfully) did something var Any ideas would be appreciated. TIA, Gerard M. Averill Center for Health Systems Research and Analysis |