您如何找到Delphi组件来自的软件包? [英] How do you find the package a Delphi component comes from?

查看:124
本文介绍了您如何找到Delphi组件来自的软件包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去,您可以从面板上获取安装了Delphi组件的软件包.不过,该功能似乎并不是最新版本.如何在D2007或D2009下找到某个组件属于哪个包?

You used to be able to get the package a Delphi component was installed under from the palette. That functionality doesn't seem to be in the lastest versions, though. How can I find which package a component belongs to under D2007 or D2009?

推荐答案

我不知道通过Delphi IDE进行此操作的任何方法.但是,您可以在注册表中搜索组件名称.例如,要查找TBitBtn所属的软件包,请打开RegEdit并搜索(仅在Keys上)TBitBtn. TBitBtn的条目具有一个称为包名称"的值.这是程序包的内部名称,可能仍然与您要查找的名称不完全相同.复制包名称"值(在我的情况下为dclstd100.bpl),然后从顶部(这次在值"上)进行搜索.找到该条目后,您将在数据"列中看到友好"包名称.

I don't know of any way to do this through the Delphi IDE. However, you can do a search in your registry for the component name. For instance, to find the package that TBitBtn belongs to, open RegEdit and do a search (on Keys only) for TBitBtn. The entry for TBitBtn has a value called "Package Name". This is the internal name of the package, which is probably still not quite what you are looking for. Copy the "Package Name" value (dclstd100.bpl in my case), and do a search from the top (on Values this time) for that value. Once this entry is found you will see the "friendly" package name in the "Data" column.

这篇关于您如何找到Delphi组件来自的软件包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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