TCustomIcon.LazarusResourceTypeValid function
Determines if the specified resource type is valid for the image format.
Declaration
function LazarusResourceTypeValid(const ResourceType: string): Boolean
; overrideArguments
ResourceType | Resource type identifier examined in the method. |
Function result
True when the resource type identifier is valid for the image format.Description
LazarusResourceTypeValid is an overridden Boolean function used to
determine if the specified resource type is valid for the image format.
The return value is True when ResourceType contains
'ICO' or 'ICON'. The inherited method is called to get the
return value when ResourceType contains any other resource type name. Case is
not significant when comparing the value in ResourceType; it is converted to
uppercase in the method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
