属性ExplicitLeft不存在 [英] Property ExplicitLeft does not exist

查看:135
本文介绍了属性ExplicitLeft不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Delphi 7在Fastreport上创建或编辑文本对象时出现错误。

这是错误:

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

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

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

我在做什么错?

推荐答案

按照@RUZZ的链接:
因为打开了一个DFM文件而出现此错误由高于D7的Delphi版本创建。

ExplicitLeft 是D7中未知的属性,在更高版本中添加(不确定哪个) .br

共有三个选项:

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. 使用较新版本的Delphi。

  2. 在文本编辑器中打开dfm文件,并删除 Explicit * 引用。

  3. 下载Delphi DFM转换器: http:// www .maxidix.com / products / delphi-dfm-converter 它将后期的Delphi 7 DFM转换为Delphi 7 DFM。

  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.

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

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

这篇关于属性ExplicitLeft不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆