TAcceleratorsResource class
Accelerator table resource type
Declaration
TAcceleratorsResource = class(TAbstractResource)Inheritance
- TAcceleratorsResource
- TAbstractResource
Description
This class represents a resource of type RT_ACCELERATOR.
An accelerator table resource is a collection of accelerators (represented by TAccelerator records).
An accelerator represents a keystroke that can be associated with some action.
This resource type is very Microsoft Windows-specific, so it might not be of interest for many users.
Methods are provided to add, delete and modify single accelerators.
This class doesn't allow its type to be changed to anything else than RT_ACCELERATOR. Attempts to do so result in a EResourceDescChangeNotAllowedException.
Properties
Count | public | The number of accelerators in the table |
Items | public | Indexed array of accelerators in the table |
Methods
GetType | protected | Returns the type of the resource |
GetName | protected | Returns the name of the resource |
ChangeDescTypeAllowed | protected | Reports whether changing the type of resource type or name is allowed |
ChangeDescValueAllowed | protected | Reports whether changing the value of resource type or name is allowed |
NotifyResourcesLoaded | protected | Tells the resource that all resources have been loaded |
Create | public | Creates a new accelerator table resource |
Destroy | public | Destroys the object |
UpdateRawData | public | Updates RawData stream. |
Add | public | Adds a new accelerator to the table |
Clear | public | Empties the accelerator table |
Delete | public | Deletes an accelerator from the table |
Inherited
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
