Re: [fpc-pascal] Problem with virtual constructors

2011-06-01 Thread cobines
2011/6/1 Jorge Aldo G. de F. Junior : > I am having problems with virtual methods. > > I have two classes, the second one is a descendent of the first : > > 1st: > >        TTreeNode = Class(TObject) >        Public >                Constructor Create(Const aOwner : TTreeNode); Virtual; > > 2nd : >

[fpc-pascal] Problem with virtual constructors

2011-06-01 Thread Jorge Aldo G. de F. Junior
I am having problems with virtual methods. I have two classes, the second one is a descendent of the first : 1st: TTreeNode = Class(TObject) Public Constructor Create(Const aOwner : TTreeNode); Virtual; 2nd : TTreeNodeWithProperties = Class(TTreeNodeWithN