【发布时间】:2017-07-11 09:25:22
【问题描述】:
我正在尝试将一个组件从 Delphi 7 转换为 Delphi Berlin(平面样式组件:https://sourceforge.net/projects/flatstyle/)
在源代码多次更改后,我被困在 TColorPorperty
见下文:
type
TRxColorProperty = class(TColorProperty)
public
function GetValue: string; override;
procedure GetValues (Proc: TGetStrProc); override;
procedure SetValue (const Value: string); override;
在 Delphi 7 中,这个类在 VCLEditors 单元中。但我在柏林德尔福找不到。
谁能告诉我在柏林德尔福哪里可以找到她?
【问题讨论】:
-
在 Delphi 10.1 Berlin
VCLEditors.pas单位位于C:\Program Files\Embarcadero\Studio\18.0\source\ToolsAPI。TColorProperty类存在。我没有安装更新 2,所以无法验证 ud2 中的位置。 -
@TomBrunberg:
VCLEditors的位置自 D6 以来一直没有改变 ($(BDS)\source\ToolsAPI),当时DsgnIntf被拆分并引入了VCLEditors。并且TColorProperty没有被移出VCLEditors,AFAIK。 -
@TomBrunberg:给定版本中的更新是不间断的,所以
TColorProperty在下一个主要版本之前不能移动到另一个单元(如果有的话)。所以它必须仍然存在于更新 2 中的VCLEditors中。 -
是的,@Remy 感谢您的补充说明。
标签: delphi components vcl delphi-10.1-berlin