RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomLabeledEdit.SetName Method

Sets the name of the control.

Pascal
procedure SetName(const Value: TComponentName); override;
C++
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!