[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TComponent.ChangeName

Actually sets the component name.

Declaration

Source position: classesh.inc line 1601

protected procedure TComponent.ChangeName(

  const NewName: TComponentName

);

Description

ChangeName is called by the SetName procedure when the component name is set and the name has been verified. It actually sets the name of the component to NewName, and can be used to bypass the name checks which are done when the Name property is set.

Application programmers should never use SetName directly.

See also

SetName

  

Write handler for Name property.

Name

  

Name of the component.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.