Sign in Join
FPDoc Onlineexperiment

TAbstractResource._Type property

Member of TAbstractResourcepublicIn unit resource

The type of the resource

Declaration

pascal
property _Type: TResourceDesc read GetType;

Description

Please note that some TAbstractResource descendants don't allow resource type to be changed (e.g: it's not possible for a TBitmapResource to have a type other than RT_BITMAP). If it is the case, an EResourceDescChangeNotAllowedException exception is raised.

Moreover, if the resource is contained in a TResources object, type change is not allowed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.