Delphi 2010 will not show a component in the tool palette, even if it appears in the list of component packages

I have a component package that I support, TComPort, the sourceforge project. I recently decided to try creating a version of C ++ Builder 2010 packages. They were built and installed. Then I cleaned up my system (all bpl and dcp traces disappeared!).

Now I have a strange situation when I create the runtime and also create and install the development time package for Delphi 2010 (with the package suffix d14), and the designtime component package is displayed and checked when I click "Components" → Install packages, and also in the "Project Settings", a package will appear. Anywhere, by clicking the COmponents button, you will see that these components are in this package.

However, the components inside the package are not in the tool palette. There was no real change in the source code of these components. And I have no idea why Delphi 2010 does this, or why it tells me when I installed my designtime package that the component package is installed correctly, but then the components will not appear.

EDIT: (Workaround: change the Page line parameter when calling RegisterComponents, and this problem will be solved. However, this is annoying, and I cannot figure out how to do this)

And here is the killer. When I open the DFM that contains this component, it also appears. This is just the toolbox that holds onto me. Yes, I reset the component palette. I also decided to call the ghost of the delphi 7 component palette (right-click at the top of the screen and select the components to get the old classic component palette). And he is not there either.

I suspect this could be a nasty bug in Delphi 2010. I hope someone sees something like this. It kills me, I tell you, killing me.

EDIT: I cleaned the registry key HKEY_CURRENT_USER \ Software \ CodeGear \ BDS \ 7.0 \ Package Cache [my package names are here] and there were no changes

EDIT: RegisterComponents ('foo', [TMyComponent1,....]) RegisterComponents ( "bar",...), . Delphi 2010 " Foo"? .

+3
3

, , - , , IDE , . IDE, , , . , .

, . , , , .

+2

( ) "Unhide Button". ( ), , .

( , Win 3.1, , , , TOutline.)

+1

RAD2007: , CPortLib .

,

[Borland\BDS\5.0\Package Cache\DsgnCPortD2007.bpl] " " = "1"

"0".

IDE CPortLib.

Morover, 1, , IDE ,

Delphi 2005 http://blogs.embarcadero.com/abauer/2004/11/15/1833

( .rpt).

, , , , ( > 4500 ).

0
source

Source: https://habr.com/ru/post/1732364/


All Articles