Sign in Join
FPDoc Onlineexperiment

TStringTableResource.ChangeDescValueAllowed function

Member of TStringTableResourceprotectedIn unit stringtableresource

Declaration

pascal
function ChangeDescValueAllowed(aDesc: TResourceDesc): Boolean
 ; override

Description

Not described here; this is what TAbstractResource.ChangeDescValueAllowed says of it:

Reports whether changing the value of resource type or name is allowed

Descendant classes must implement this method to declare if the resource allows changing the value of one of its resource description (type or name).

Example:

A certain resource class allows its name only to be changed: e.g. a TBitmapResource doesn't want its type to be anything else than RT_BITMAP. It then allows changing the value of the description only if the description is the resource name:

Result:=aDesc=fName;

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