[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Write handler for Name property.
Source position: classesh.inc line 1617
protected procedure TComponent.SetName( |
const NewName: TComponentName |
); virtual; |
SetName is the write handler for the Name property. It checks whether the desired name is valid (i.e is a valid identifier) and is unique among the children of the owner component. If either conditions is not satisfied, an exception is raised.
|
Name of the component. |
|
|
Called when a name change must be validated |
lazarus-ccr.sourceforge.net |