TComponent.ValidateRename procedure
Called when a name change must be validated.
Declaration
procedure ValidateRename(AComponent: TComponent; const CurName: string;
const NewName: string); virtualDescription
ValidateRename checks whether
NewName is a valid
replacement for
CurName for component
AComponent.
Two owned components of a component can not have the same name.
If a child component with the same name is found, then an exception
is raised.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
