I did some research on this issue in the question: Register my own form so that I can inherit it from several projects without copying the form to the object repository folder . Although this is not in my answer, I have since come to the conclusion that the IDE will only allow you to inherit elements explicitly added to the project.
Therefore, I would say that it takes the inherited elements from the dpr file. Type string
UnitOKFrame in 'UnitOKFrame.pas' {OKFrame: TFrame},
Adds an OKFrame to the list of inherited elements.
So, my βhunchβ is that somehow you got extra spaces between the name of your forms / frames and the colon separating it from its type. Sort of:
UnitOKFrame in 'UnitOKFrame.pas' {OKFrame : TFrame},
If this is true, I would do a QC report with Embarcadero. They could have worked to make the dpr parsing a little more robust and friendly to the poor programmers :-) ...
As mentioned in the comments on Uwe, forms are included without a type identifier:
UnitLogonForm in 'UnitLogonForm.pas' {LogonForm},
in this case, you may have extra spaces between curly braces surrounding the actual name:
UnitLogonForm in 'UnitLogonForm.pas' {LogonForm },
source share