It happened to me, that the Delphi XE6 IDE forgot all of the TFrame descendants that I created in the past.
More specifically, when I click on Standard -> Frames, the dialog for choosing my frames does not show anymore.
Instead, it shows the following error message:
No frames are available to insert. New frames may be created from the File|New|Other selections..
Is there a way to remedy the situation?
EDIT1 Steps to reproduce are sadly unavailable: I am honestly unsure how this happened, but it did. I think there was maybe a culprit when upgrading from certain versions of Delphi to another. As I did this upgrade multiple times over time, I remember starting the project in Delphi 7, then there were some versions which I don't remember which ones, the last two versions I used were XE2 and until now is XE6.
Edit2 This happens if the frame(s) was(were) created with a Delphi version before XE2.
The reason for the problem is in changes to the
.dprojfile when theFiremonkeyframework was added. To distinguish frames made for avclfrom frames made forfmxa line was added to the.dprojfiles as below. To make the correction to the.dprojfile do as follows:Close the Delphi IDE.
Open the
.dprojfile with a text editor of your choice.Look up the
TFrameone by one.Let's suppose the following is your
TFramesection:The fix is to add the following line into that section:
(in
fmxprojects the line is<FormType>fmx</FormType>)