help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TComponent.Name

Name of the component.

Declaration

Source position: classesh.inc line 1397

published property TComponent.Name: TComponentName
  read FName
  write SetName
  stored False;

Description

Name is the name of the component. This name should be a valid identifier, i.e. must start with a letter, and can contain only letters, numbers and the underscore character. When attempting to set the name of a component, the name will be checked for validity. Furthermore, when a component is owned by another component, the name must be either empty or must be unique among the child component names.

Errors

Attempting to set the name to an invalid value will result in an exception being raised.

See also

ValidateRename

  

Called when a name change must be validated

Owner

  

Owner of this component.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505