"Unable to find component class TFrame1..." lazarus / 31-LCL ---------------------------------------------------------------------- wp · 2013-02-03 15:39 When preparing the demo for another posting (http://www.lazarus.freepascal.org/index.php/topic,19774.0.html) I came across an issue with frames that I have not seen before: Create a new applicationSave unit and projectCreate a new frameAdd controls to the frameSave the frameGo back to the main unit, insert the frameSave - everything is well so farClose Lazararus, restart and load this project. There is an error message saying that "Unable to find component class "TFrame1". It is not registered via RegisterClass and no lfm was found. It is needed by unit ...\unit1.pas."The lfm does exist where it is expected, and clicking on any of the three buttons on the messagebox continues loading the project such that it can be compiled without any error.I am working on Win32 with the recent svn trunk of Laz1.1. Using my other installation with Lazarus 1.0 does not show the issue. Also, when the frame is created at runtime, the form loads, compiles and runs fine without an error message. Am I doing something wrong, or is this a recently-introduced bug? ---------------------------------------------------------------------- Blaazen · 2013-02-03 16:45 Isn't it a missing path to frame? I mean the case you saved frame to some subdirectory and you have to add the path to Project Options - > Compiler Options -> Paths. Also, is the frame in Project Inspector? You could check uses section of the *.lpr file too. ---------------------------------------------------------------------- wp · 2013-02-03 17:49 The frame is in the same directory as the entire project, and it is in the Project Inspector. See the demo referenced to in the first posting