Question

When developing a new component in Delphi, I run into this inefficiency. Every time I make incremental changes to the source code (for example, a bug fix), I build the new component and install it on the Component Palette. This is OK. In another instance of the IDE, I have a project opened that is using this component. It is a visual component on one of my forms. To apply the new changes, restart of this second instance is required — closing and reopening of form or project is not enough. Can this process be optimized?

Was it helpful?

Solution

If you want to reload the design-time package without killing the IDE you can:

  1. Open the Install Packages dialog.
  2. Uncheck the package and the re-check it.

Edited to remove unnecessary steps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top