【问题标题】:Property ExplicitLeft does not exist属性 ExplicitLeft 不存在
【发布时间】:2013-10-20 14:11:11
【问题描述】:

我在使用 Delphi 7 在 Fastreport 上创建或编辑 TEXT OBJECT 时遇到错误。
这是错误:

读取 TextTS->ExplicitLeft 时出错:属性 ExplicitLeft 不存在。

我做错了什么?

【问题讨论】:

  • 在快速报告论坛中试试这个thread

标签: delphi delphi-7 fastreport


【解决方案1】:

根据@RUZZ 的链接: 您收到此错误是因为您正在打开由比 D7 更新的 Delphi 版本创建的 DFM 文件。
ExplicitLeft 是 D7 中未知的属性,是在更高版本中添加的(不确定是哪个)。
共有三个选项:

  1. 使用较新版本的 Delphi。
  2. 在文本编辑器中打开 dfm 文件并删除 Explicit* 引用。
  3. 下载 Delphi DFM 转换器:http://www.maxidix.com/products/delphi-dfm-converter 它将 Delphi 7 DFM 转换为 Delphi 7 DFM。

不用说,如果您的程序访问 Delphi 7 后的属性,您将需要对代码进行一些重构。

【讨论】:

    猜你喜欢
    • 2019-05-04
    • 1970-01-01
    • 2013-10-10
    • 2020-12-31
    • 2021-09-04
    • 2020-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多