DesignIntf.IDesigner60.IsComponentLinkable
Delphi
function IsComponentLinkable(Component: TComponent): Boolean;
C++
virtual bool __fastcall IsComponentLinkable(System::Classes::TComponent* Component) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DesignIntf.pas DesignIntf.hpp |
DesignIntf | IDesigner60 |
Description
Indicates whether a component is declared in a unit used by the current root object.
Call IsComponentLinkable to determine whether the component specified by the Component parameter can be referenced from within the root object. IsComponentLinkable returns true if the specified component is declared in a unit used by the root object.
If IsComponentLinkable returns false, you can call MakeComponentLinkable to add the component's unit to the uses clause of the root unit (Delphi) or include its header in the root unit (C++).