Declaration of class <ClassName> is missing or incorrect

From Appmethod Topics
Jump to: navigation, search

Go Up to Error Messages Index


Object Pascal is unable to locate the form's class declaration in the interface section of the unit. This is probably because the type declaration containing the class has been deleted, commented out, or incorrectly modified. This error will occur if Object Pascal cannot locate a class declaration equivalent to the following:


type
	   ...
	   TForm1 = class(TForm)
	   ...

Use UNDO to reverse your edits, or correct the declaration manually.