RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IDesigner60.IsComponentLinkable Method

Indicates whether a component is declared in a unit used by the current root object.

Pascal
function IsComponentLinkable(Component: TComponent): Boolean;
C++
__fastcall Boolean IsComponentLinkable(TComponent * Component);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!