Samples Compilation with D7

Hello & Merry Xmas !! 

Some samples didn't natively compile with Delphi 7, sometimes I just change/comment a line, sometimes it's more complicated.
My last problem is with AdvDBLookupInGrid where I have a message on line 66 : TEditorType non declared.

1/ What is this problem's origin ?
2/ Is it not possible to automatically test the samples with main Delphi version before deliver new versions, because all the fixex in samples are lost with updates.

Can you try to add the unit AdvObj to the uses list?

It's OK, however I think samples needs automatic compilation with all Delphi versions to avoid this kind of pb.
Best regards...