Advertisement
nuclearping

Delphi Fix for inserting frames / missing frames in IDE

Aug 25th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. Fix for Delphi Frames not appearing when trying to add existing TFrame to TForm.
  2.  
  3. Problem description:
  4. http://codeverge.com/embarcadero.delphi.ide/in-xe4-all-frames-are-ignored-for-inse/1062441
  5.  
  6. Solution:
  7. 1) Close your project.
  8. 2) Use RegExr.com and paste in your project .dproj
  9. 3) Search for:
  10. <DCCReference Include="(.*)">\n(.*)\n(.*)(<DesignClass>TFrame<\/DesignClass>)\n(.*)<\/DCCReference>
  11. 4) Substitute with:
  12. <DCCReference Include="$1">\n$2\n$3$4\n$3<FormType>dfm</FormType>\n$5</DCCReference>
  13. 5) Copy & paste substitute content into your project .dproj.
  14. 6) Save and reopen your project in Delphi.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement