Sign in Join
FPDoc Onlineexperiment

TComponent.ChangeName procedure

Member of TComponentprotectedIn unit Classes

Actually sets the component name.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.