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);

Classes

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. 

 

FindGlobalComponent 

UniqueString

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!