Field field_name does not have a corresponding component. Remove the declaration?

From RAD Studio
Jump to: navigation, search

Go Up to Error Messages Index


The first section of your form's class declaration is reserved for use by the Form Designer.

To declare your own fields and methods, place them in a separate public, private, or protected section.

This error usually occurs when the form binary file (.DFM) is not synchronized with the class declaration, meaning that a component on the form does not have a corresponding field in the class.

This error occurs if you load the binary form file (.DFM) into the Code Editor and delete or rename one or more components.