I am writing a component that requires the use of both the units
DesignIntf, DesignEditors
When i build my package, i get the error
File not found: 'DockForm.dcu'
When I add "designide.dcp" to the "requires" section of the package, it builds and compiles just fine.
HOWEVER, when i add the component to a new project (in design time, it works. I can change all the properties, etc......BUT, it does NOT work in runtime. When i run the application with the component on the main form, i once again get the " "File not found: 'DockForm.dcu'" error
please help
thanks
You're not allowed to use any of the Design* units in your runtime code. It's for use at designtime in the IDE only, and can't be linked in to your own application. That's why the .DCUs aren't found; they're not provided, and their functionality is provided in the designtime only packages in the IDE itself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With