Rename Form lazarus / 61-Beginners ---------------------------------------------------------------------- tudi_x · 2016-12-05 12:42 Hi! I have created a second form with Form1 being the main one. I was wondering if it is possible to rename Form2. I made some changes in the class and lpr file but I still get: main.pas(1312,3) Error: Identifier not found "FormChecks" . Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i PROCEDURE TForm1.Button1Click(Sender : TObject);BEGIN  FormChecks.Show;END; Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i BEGIN    RequireDerivedFormResource := TRUE;    Application.Initialize;    Application.CreateForm(TForm1, Form1);    Application.CreateForm(TFormChecks, FormChecks);    Application.Run;END.  Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i UNIT checks_theform; ...TYPETFormChecks = CLASS(TForm)  BGRAImageList1   : TBGRAImageList;  Memo1   : TMemo;  PROCEDURE FormCreate(Sender : TObject);private Thank you. ---------------------------------------------------------------------- JanRoza · 2016-12-05 14:13 Have you included a use statement for formChecks in Form1? ---------------------------------------------------------------------- tudi_x · 2016-12-05 14:25 Thank you. It was included but I still see in Project Forms the renamed form with the old name. Shouldn't the view form option and Object Inspector present the form with the new name? Please see screen capture. ---------------------------------------------------------------------- tudi_x · 2016-12-05 14:42 Also I get the attached error at run time. Using Lazarus 1.6.2 32b on Windows 7 64b. ---------------------------------------------------------------------- Thaddy · 2016-12-05 16:09 A form name *must* (well, should) be changed from the object inspector, not in your code.  The lfm doesn't update, unless the whole project is loaded and parsed once..