Property ExplicitLeft does not exist

无人久伴 提交于 2019-12-11 07:59:39

问题


I'm having an a error when I'm creating or editing a TEXT OBJECT on Fastreport using Delphi 7.
Here's the error:

Error reading TextTS->ExplicitLeft: Property ExplicitLeft does not exist.

What am I doing wrong?


回答1:


As per @RUZZ's link: You are getting this error because you're opening a DFM file that was created by a Delphi version newer than D7.
ExplicitLeft is a property unknown in D7, is was added in a later version (not sure which).
There are three options:

  1. Use a newer version of Delphi.
  2. Open the dfm file in a text editor and remove the Explicit* references.
  3. Download Delphi DFM convertor: http://www.maxidix.com/products/delphi-dfm-converter It converts a post Delphi 7 DFM into a Delphi 7 DFM.

Needless to say if your program accesses post Delphi 7 properties you'll need to do some refactoring of your code.



来源:https://stackoverflow.com/questions/19478339/property-explicitleft-does-not-exist

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!