Delphi: TFrame error No frames are available to insert
The reason for the problem is in changes to the .dproj
file when the Firemonkey
framework was added. To distinguish frames made for a vcl
from frames made for fmx
a line was added to the .dproj
files as below. To make the correction to the .dproj
file do as follows:
Close the Delphi IDE.
Open the
.dproj
file with a text editor of your choice.Look up the
TFrame
one by one.Let's suppose the following is your
TFrame
section:<DCCReference Include="Results.pas"> <Form>FrameResults</Form> <DesignClass>TFrame</DesignClass> </DCCReference>
The fix is to add the following line into that section:
<FormType>dfm</FormType>
(in fmx
projects the line is <FormType>fmx</FormType>
)