Form inherit Property lost after re-open

Hello TMS Team,

I have a base form in the project that all the others are derived from. This has worked well so far.
But today, when opening the project, I got the (IDE) error message that properties are missing. All TWebForm properties are gone.(CSSLibrary, ElementFont, FormContainer, ...). I opened and checked all files involved in a separate editor. Everything looks fine.

I think I changed the order of the units in the interface the last time I edited it. But here too, all attempts at correction are unsuccessful.

The last editing was about 2-3 days ago and no updates or similar were installed.

What is the cause here? How can I fix the files without having to redo them all, which would probably take days.

Here is my uses section. The ancestor form is "Web.BasisForm"

interface

uses
  System.SysUtils, System.Classes, System.Types, JS, Web, {Web.BasisForm,}
  WEBLib.Graphics, WEBLib.Controls, WEBLib.Forms, WEBLib.Dialogs, WEBLib.ComCtrls, WEBLib.Lists, WEBLib.ExtCtrls, WEBLib.WebCtrls,
  Vcl.Controls, Vcl.StdCtrls,
  VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCCalendar,
  WEBLib.StdCtrls, WEBLib.Buttons,

  Web.AppTypes,
  Web.BasisForm,
  web.ClientApp;

And here the first lines in project DPR

uses
  Vcl.Forms,
  WEBLib.Forms,
  Web.BasisForm in '..\..\Client\WEB\Web.BasisForm.pas' {WebBasisForm: TWebForm} {*.html},
  TestMain in 'TestMain.pas' {frmTest: TWebForm} {*.html},

Thomas

I do not have an idea what is causing this. I cannot remember having seen this before.
Have you checked differences in your version control system?

In this case there were too many changes because the project was new and we did a lot right away.

I have now taken the project and removed all components and code. Only the inheritance left. This is a simple project (TMS WebCore with Bootstrap). Only a base form and a test form inherited from it. Both are empty.
When you open TestMain.pas, the missing properties error comes up.

I completely redesigned the form for myself. Everything works here. But I am afraid that this problem will come again. Or I would like to be able to do a manual correction if it happens again. All forms are inherited.

**
TestForm.zip (53.4 KB)
**

Attached is a small test project. (completely)

I just see the DPR file isn't quite right. It would not compile. There is some old code there. You can delete it.
But it's only about opening the unit.

We checked this and see that the DFM does not use the "inherited" decorator on the form

inherited is missing in the .dfm file.

please add it and it should be fixed.

**inherited** frmAlt: TfrmAlt
  Width = 1276
  Height = 916
  CSSLibrary = cssBootstrap
  ElementFont = efCSS
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -15
  Font.Name = 'Tahoma'
  Font.Style = []
  FormContainer = 'pagecontent'
  ParentFont = False
  OnCreate = WebFormCreate
end

I could have thought of that myself.
Thank you.