Paul H 0 Posted Wednesday at 04:01 PM I am totally tearing my hair out over this one. I have a largish VCL project (100+ forms and frames) and recently I have started to reegularly "lose" ALL the <FormType>dfm</FormType> tags in the drpoj file, so when I try to add a frame to a form all I get is an empty frame list. Re-adding all the FormType tags to the dproj file every week or so is a pain. Before I give up and rebuild the project from scratch, has anyone any idea what is happening with the IDE? I am using Delphi 12.2 Share this post Link to post
Vandrovnik 215 Posted Wednesday at 04:36 PM 31 minutes ago, Paul H said: I am totally tearing my hair out over this one. I have a largish VCL project (100+ forms and frames) and recently I have started to reegularly "lose" ALL the <FormType>dfm</FormType> tags in the drpoj file, so when I try to add a frame to a form all I get is an empty frame list. Re-adding all the FormType tags to the dproj file every week or so is a pain. Before I give up and rebuild the project from scratch, has anyone any idea what is happening with the IDE? I am using Delphi 12.2 It did not happen to me in 12.2 (yet). In older versions, i just replaced <DesignClass>TFrame</DesignClass> with <FormType>dfm</FormType><DesignClass>TFrame</DesignClass> in .dproj file. T thought it was happening mostly after Delphi upgrade. Share this post Link to post
Anders Melander 1824 Posted Wednesday at 08:30 PM 4 hours ago, Paul H said: Re-adding all the FormType tags to the dproj file every week or so is a pain. So you're not using version control? 2 Share this post Link to post
Der schöne Günther 321 Posted Thursday at 10:05 AM This also happens with me all the time. There is no method to this madness. When developing with Delphi, I usually spend 10 - 15 % of my time reverting unwanted changes or being extra careful to not commit them. If you are not using any kind of version control, this is clear sign that you should start getting familiar with it now 2 Share this post Link to post
Uwe Raabe 2075 Posted Thursday at 10:10 AM Project Magician has an option for that: Quote Refresh Form Type Sometimes the FormType entries in the project file are missing. This leads to the fact that during design time one cannot instantiate frames affected by this. This functionality restores the missing entries when opening a project. 3 Share this post Link to post
aehimself 399 Posted 18 hours ago On 1/15/2025 at 5:01 PM, Paul H said: I am totally tearing my hair out over this one. I have a largish VCL project (100+ forms and frames) and recently I have started to reegularly "lose" ALL the <FormType>dfm</FormType> tags in the drpoj file, so when I try to add a frame to a form all I get is an empty frame list. Re-adding all the FormType tags to the dproj file every week or so is a pain. Before I give up and rebuild the project from scratch, has anyone any idea what is happening with the IDE? I am using Delphi 12.2 It's "normal". The same happens in my home project which has 10-ish frames only. At least the fix is easy 🙂 Share this post Link to post