Jump to content
Registration disabled at the moment Read more... ×
dormky

How do I register a component into the tool palette ?

Recommended Posts

Assuming that the code for your component is already in a package, right-click on the package in the Projects window and select the Install menu item:

 

image.png.cb479dee47fb7e39c8f8a871f122892f.png

 

The documentation that you referenced is lacking. If your component directly interacts with the Delphi IDE, such as using any of the Design*.pas units in the $(BDS)\Source\ToolsAPI folder, then you need to separate your design-time specific code from your run-time code and have separate design-time and run-time packages.

 

Here are some links that may be helpful. Search engines are your friend:

 

Creating Packages

Runtime/Designtime what? Delphi Packages

Component package - where to divide runtime, designtime, registration

 

 

Share this post


Link to post

I feel like my time and the stability of the application will be much better served if I simply makes a class that takes my base component as a parameter. It's to draw on a bitmap anyway so not much going on at design time.

 

Thanks anyway, at least I know not to refer to the docs on this subject 🙂

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×