DesignIntf.ForceDemandLoadState
Delphi
procedure ForceDemandLoadState(DemandLoadState: TDemandLoadState);
C++
extern DELPHI_PACKAGE void __fastcall ForceDemandLoadState(TDemandLoadState DemandLoadState);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | DesignIntf |
Description
Specifies whether the IDE should use smart loading of registered components.
TDemandLoadState defines the following values.
Value | Meaning |
---|---|
|
Specifies that the IDE should use smart loading of installed packages. When the IDE starts, the IDE does not immediately load all installed packages. Initially, only the installed packages components which are explicitly used in the project group are loaded by the IDE. Packages that are not loaded, can be automatically loaded on demand. For example, when the programmer drags a component from the Tool Palette into the Form Designer, then the package in which this component is registered is loaded into the IDE. Smart loading is used to decrease the IDE opening time and used memory. |
|
Disables smart loading. When the IDE starts, the IDE always loads all installed packages. |
|
The system itself defines whether to use smart loading of installed packages. |