如何查询 Delphi 组件面板?
我安装了很多组件 - 问题是当我想找到一个我很少使用的组件时,需要很长时间才能找到它。我可以查看列出所有组件的 ALL 选择,但找到标题中带有“网格”的组件仍然非常耗时。是否有一个标题数据库或(最好)一个我可以查询和搜索的文本文件?
I have lots of components installed - trouble is when I want to find one I rarely use it takes ages to find it. I can look at the ALL choice which lists all components but finding one with say 'grid' in the title is still very time consuming. Is there a database of titles or (preferably) a text file I could interrogate and search?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
尝试 DDevExtensions 1.61,它添加了从版本 5 开始搜索 Delphi 组件的功能,并且以上,以及 IDE 的其他许多改进。
Try DDevExtensions 1.61, it add ability to search for components for Delphi from version 5 and above, with other many improvement for the IDE.
德尔福哪个版本?在最新版本中,只需单击调色板顶部并输入“grid”即可。 Ctrl-Alt-P 将聚焦调色板,然后您就可以开始输入。
在 RAD2009 和 RS2010 中,执行此操作,它将找到标题中任何位置带有“grid”的所有组件。
Which version of Delphi? In recent versions, just click on the top of the palette and type "grid". Ctrl-Alt-P will focus the palette, and then you can just start typing.
In RAD2009 and RS2010, do this and it'll find all components with "grid" anywhere in the title.
由于您没有指定Delphi的版本...
1)在旧版本(D7及之前)中,您可以右键单击组件面板来查看属性。这一次一页显示您安装的所有组件。它不可搜索,但至少列表显示了每个组件的名称和包,因此它比在每个单独的组件上使用弹出提示更容易。
2) 在Delphi 7中,您可以选择查看|组件列表,这将显示所有组件的可搜索字母列表。不幸的是,它只匹配组件名称的第一部分。 “新”工具选项板的第一个版本也有同样的限制。
3) DDevExtensions(免费)允许旧组件面板中的部分字符串匹配(D5 -D7),并恢复较新版本的 Delphi(D2005 及更高版本)中的旧调色板。对于喜欢这种风格的人来说,它也包含在 Delphi 2010 中。我喜欢 Delphi 7 中的搜索工作方式,但在 Delphi 2010 中,过滤对我来说似乎有点尴尬。它会过滤组件和选项板页面,但如果您在多个页面上有匹配的组件,则它们不会同时显示。您仍然需要单击每个单独的页面。
4)我最喜欢的。我更喜欢新的工具选项板(Delphi 2005 及更高版本)。非常可配置,让我可以看到组件名称,一次在多个页面上显示组件,可停靠等等。
底线。如果您没有或不喜欢新的工具选项板,请获取 DDevExtensions。
Since you didn't specify which version of Delphi...
1) In older versions (D7 and before), you can right click on the component palette to see the properties. This shows all of the components you have installed one page at a time. It isn't searchable, but at least the list shows each component's name and package, so it's easier than using the popup hints on each individual component.
2) In Delphi 7, you can select View|Component List, which brings up a searchable alphabetical list of all components. Unfortunately, it only matches on the first part of the component name. The first version of the "new" tool palette had this same limitation.
3) DDevExtensions (free) allows partial string matches in the old component palette (D5-D7), and restores something like the old palette in newer versions of Delphi (D2005 and up). It's also included in Delphi 2010 for people who prefer that style. I like how the search works in Delphi 7, but in Delphi 2010, the filtering seems a little awkward to me. It filters the components and palette pages, but if you have matching components on more than one page, they aren't all shown at the same time. You still have to click on each individual page.
4) My favourite. I prefer the new tool palette (Delphi 2005 and up). Very configurable, lets me see the component names, shows components on more than one page at a time, dockable, etc.
Bottom line. If you don't have or don't like the new tool palette, get DDevExtensions.
在 Delphi 2005 之前:安装DDevExtensions,然后选择“工具” -> DDevExtensions 选项 ->组件选择器 ->选中“活动”框,单击“确定”
Delphi 2005 及更高版本: 单击组件选项板并键入所需组件的名称。
Before Delphi 2005: Install DDevExtensions, then choose Tools -> DDevExtensions Options -> Component Selector -> Check the "Active" box, click OK
Delphi 2005 and later: Click in the component palette and type the name of the one you want.
使用 GExperts - 他们很有帮助。
Use GExperts - they help a lot.