RAD Studio VCL Reference
TComponent.ChangeName Method

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

procedure ChangeName(const NewName: TComponentName);
__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!