这是我D7下装coolform控件时遇到的这个问题哈。
1、添加 lib\designide.dcp到控件的dpk文件的requires部分
2、在控件的pas源文件中凡是uses dsgnintf的地方改成
uses designintf,designeditors
3、加入搜索路径
C:\Program Files\Borland\Delphi7\Source\ToolsAPI
4、implementation部分把Proxies隐掉
uses DesignConst, Consts, RTLConsts, Contnrs{Proxies};
5、找到并把
if (FAncestor = nil) and (Component <> Designer.Root)
and IsProxyClass(Component.ClassType) then
改为
if (FAncestor = nil) and (Component <> Designer.Root)
{and IsProxyClass(Component.ClassType)} then
6、找到并把
while IsProxyClass(ComponentClass) do
改为
//while IsProxyClass(ComponentClass) do
7、保存,编译运行,OK
附件为我原来下载的文件做成的dpk形式哈
文章主要方法来自:
http://www.samool.com/show-264-1.html
另:
http://vclxx.org/forum/index.php?topic=9473.msg28767也值得一看哈。
分享到:
相关推荐
因为在bcb6中toolsapi目录中已经取消了DsgnIntf.pas,而把DsgnIntf.pas中的代码分散到了DesignIntf,designeditors,vcleditors单元中,所以要将 mwEditPropertyReg.pas中的DsgnIntf用DesignIntf,designeditors,...
install时如果出现 dsgnintf.dcu或DesignIde.dcu 找不到 或 DockForm.dcu 找不到 只需在安装控件包时在require上点击右键,添加“lib\DesignIde.dcp”即可。 默认的pkg文件已经加载了dcp文件,直接install就应该...
{$IFDEF ASQLITE_D6PLUS} DesignIntf, DesignEditors,//这是D6 {$ELSE} DsgnIntf,/这是D5,D4,D3 {$ENDIF}
另附安装过程中出现 File Not found 'DesignIntf.dcu'和File Not found 'Proxies.dcu'在Delphi 7~2007下的解决方法: 1、File Not found 'DesignIntf.dcu'在Delphi 7~2007下的解决方法: 在Library中加入$(BDS)\Lib\...
DTalk, for Delphi, is a set of Speech “enabling” ...SAPI compliance insures compatibility with the largest selection of SR and TTS engine vendors....Tested under D7(ok).maybe trivial but change dsgnIntf ...
OnGetTitleFail 控件在内部列表中找不到相应字段显示信息时触发该事件。 4.使用方法: 1)确定你需要用该控件显示的所有字段。 2)在Titles中为每一个字段增加一项,设置好字段名、显示名、宽度。 3)你也...