RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent.ChangeName Method

Sets the private, internal storage for the Name property to the string passed in NewName.

Pascal
procedure ChangeName(const NewName: TComponentName);
C++
__fastcall ChangeName(const TComponentName NewName);

Do not use ChangeName directly in an application. Instead, use the Name property.

Note: The property setter for Name, SetName, uses ChangeName to change the component's name. ChangeName is not virtual; do not override it.
 

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