DesignIntf.IDesigner60.IsComponentLinkable

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesigner60

Delphi

function IsComponentLinkable(Component: TComponent): Boolean;

C++

virtual bool __fastcall IsComponentLinkable(System::Classes::TComponent* Component) = 0 ;

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++).

See Also