[SOLVED] Probably Error in Lazarus 4.2 IDE while rename an Frame- Object lazarus / 10-Designer ---------------------------------------------------------------------- HAndiL · 2025-09-02 12:45 Hello, i'm probably hit to an error in Lazarus IDE: 1. create an new project with an normal form (an application) without any controls 2. create an new frame (File/New.../Frame), for sample with an label on it (dont change anything else, don't connect to anything) 3. go to the unit with the frame (unit2) and look to the the source code and the form visualization, it looks fine 4. save and close the project 5. reopen the project, it should be opened without any error. 6. compile, run and close it 7. in the CodeExplorer for unit2 highlight data type TFrame1(TFrame), to get the context menu click right with the mouse 8. in the contextmenu select rename (for the Obect TFrame1) 9. in the dialog for the data type change the name from TFrame1 to (by sampe) TAFrame1 = error TFrame rename picture 1.png = error TFrame rename picture 2a.png 10. compile, run and close it 11. save all and close the project 12. reopen the Project an see the error message = error TFrame rename picture 3.png Translation: Cannot find the component class "TFrame1". It is not registered using RegisterClass and no lfm was found. It is required by unit: 13 after multiple select "Cancel loading" rename the object back to TFrame1 from TAFrame1 14. save all and close the project 15. reopen the project and see NO error message I think, this looks like an error! In my opinion, this error lives since version 3.x. To make it clear, i don't edit the lfm-File, i used only Lazarus IDE Tools. I hope there ist anybody who has an solution. HAndiL ---------------------------------------------------------------------- paweld · 2025-09-02 13:24 The name of components should be changed in the object inspector, not using the “rename tool" - because this tool has a problem with changes in *.lfm files. ---------------------------------------------------------------------- HAndiL · 2025-09-02 13:31 Quote from: paweld on September 02, 2025, 03:24:29 pmThe name of components should be changed in the object inspector, not using the “rename tool" - because this tool has a problem with changes in *.lfm files. Hello paweld, that's good to know, but unfortunately that's the only way to find out. HAndiL