I work, I work, and suddenly some kind of message flies out (Delphi 2010)

"Tform1.Form here ... removed?"

or

"Form1.Tform here ... removed?"

... not having time to think, the fingers have already pressed "YES". And then it stopped compiling.

Error 2003: Undeclared "Form1"

And with other modules Form1 is not available ... As if it does not exist at all. I understand that I somehow unintentionally deleted the form declaration, but I don’t know how to restore it so that it is available to all other modules ... Where is it stored? The form and the elements on it, I see (in unit1) ... In modules it is not available (unit1, unit2, unit3, unit4, etc).

Hooray!!!! I remembered what the error was .. Here it is: "Field Form1.Form1 does not a corresponding component.Remove the declaration???"

    1 answer 1

    At the very top where the procedures are declared delete them + delete everything where they were used.

    Well, or look at the top

      uses StdCtrls 
    • Procedures related only to form1 (public, private) ??? Or also manual. announced ??? - Vfvtnjd