RAD Studio VCL Reference
TCustomAction.SetName Method

Sets the value of the Name property.

procedure SetName(const Value: TComponentName); override;
virtual __fastcall SetName(const TComponentName Value);

SetName is the protected write implementation of the Name property. It calls the ChangeName method, which performs the actual name change. TCustomAction overrides SetName so that it also changes the Caption property if Caption is the same as Name. 


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