I assume you just want all the red underscores to disappear:
Tools | Options | Editor Options | Code insight
Then clear the Penetration of errors check box.
This is for Delphi 2010, but I think it is very similar in Delphi 2007, but at the moment I have not installed it.
Jim mckeeth
source share