RAD Studio VCL Reference
TControl.SetName Method

Sets the name of the control.

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

SetName is the protected write implementation of the Name property. TControl updates the Text or Caption property, if appropriate, after changing the value of Name. 

Override SetName to execute additional code when the value of the Name property changes. 


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