[Overview][Resource strings][Constants][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
A resource description (type or name)
Source position: resource.pp line 100
type TResourceDesc = class |
||
protected |
||
procedure SetOwner(); |
|
Protected method to let a resource set itself as owner of the TResourceDesc |
public |
||
constructor Create(); |
|
Creates a new TResourceDesc object |
procedure Assign(); |
|
Assigns the contents of another TResourceDesc object to this one |
function Equals(); |
|
Compares the contents of another TResourceDesc object to this one |
|
The value of the resource description as a name |
|
|
The value of the resource description as an ID |
|
|
The type of the resource description |
|
end; |
|
A resource description (type or name) |
|
| | ||
TObject |
This class represent a resource description (type or name).
Resources are identified by a type, name and (optionally) a language ID.
Type and name can be either a name (a string identifier) or an ID (an integer identifier in the range 0..65535).
Remark: | Unfortunately, name is used both to refer to a the name of the resource and both to the format of a resource description |
Example:
Typically, a Windows executable has a main icon, which is a resource of type RT_GROUP_ICON (type is an ID) and name MAINICON (name is a name).
|
Base abstract resource class |