RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.IsUniqueGlobalComponentName Function

Indicates whether a proposed component name is unambiguous.

Pascal
function IsUniqueGlobalComponentName(const Name: string): Boolean;
C++
Boolean IsUniqueGlobalComponentName(const AnsiString Name);

IsUniqueGlobalComponentName returns true if the name specified by Name is not currently used by any component on any form, data module, or other top-level container component. IsUniqueGlobalComponentName returns false if another component is already using Name (in which case, references to the component should be qualified by the root object's name. 

 

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