March 2000
Intermediate to advanced
576 pages
18h 13m
English
$DesignOnly Compiler Directive
{$DesignOnly Off} // default
{$DesignOnly On}Project
Use the $DesignOnly
directive in a package’s
.dpk file to mark the package as being a
design-time package. You cannot link the package with an application
or library. You can only install the package in the IDE of Delphi or
C++ Builder.
When you write a component, put the component’s unit in a runtime package, and put the property and component editors in a design-time package. That way, an application can link with the component’s runtime package and avoid the overhead of linking the design-time code, which the application doesn’t need.
| Package Directive, $RunOnly Compiler Directive |
Read now
Unlock full access