I made a mistake when trying out Lazarus for the first time.... Lazarus had created a form automatically on start (Form1).
I created a unit containing my wrapper for the com port, which I intend to use. It will contain a working thread to handle the actual in/out of data etc. Then I decided to save the project and since I had focus on my com unit in the editor I just typed in comport as the name of the unit that was gƥing to be saved. Then I realized that the form unit had been named comport! When the saving continued with the real comport unit I entered the same name in order to overwrite the file I created by mistake. This seemed to work so my next step was to go back to the form and do a SaveAs in order to rename it. But no matter what I do it wouldn't allow me to save it under a new name.... So I closed it and created a new form instead and saved it with the name of my choosing. But still there is a mysterious Form1 lingering on in my project options forms tab and I cannot get rid of it. I removed the extra comport from the uses clause of the project file and also removed the line that creates it. But it stays in my project properties anyway. I also deleted files comport.lfm and comport.lrs and restarted Lazarus, but still my project properties show this Form1 as available.... How can I get rid of this ghost form for good? (Where is the information of this form saved?) -- BoB -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus