| [Overview][Resource strings][Constants][Types][Classes][Index] | 
Adds a resource
Source position: resource.pp line 247
| public procedure TResources.Add( | 
| aResource: TAbstractResource | 
| ); | 
| aResource | 
 | The resource to add | 
This method adds aResource to the object, and sets itself as the owner list of the resource.
If a resource with the same type, name and language ID already exists, an EResourceDuplicateException exception is raised.
| 
 | Adds a resource and gives it a new autogenerated name |