How can I interrogate the Delphi component palette?
Asked Answered
P

5

7

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?

Parameter answered 1/9, 2009 at 10:2 Comment(0)
L
9

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.

Lighthouse answered 1/9, 2009 at 11:8 Comment(1)
Thanks DDevExtensions works a treat. In Delphi7 I cant get the CTRL ALT P or clicking on the top of the palette to do anything. Thanks all of youParameter
W
5

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.

Weatherbound answered 1/9, 2009 at 10:49 Comment(1)
@LachlanG: thanks for the specifics - my answer did not suggest otherwise, did it?Weatherbound
S
2

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.

Seep answered 1/9, 2009 at 14:45 Comment(1)
Also, DDevExtensions is free!Weatherbound
L
1

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.

Lumber answered 1/9, 2009 at 20:41 Comment(1)
Thanks. Never knew this. Works great on D2007.Westbrook
H
0

Use GExperts - they help a lot.

Heliotherapy answered 3/9, 2009 at 8:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.