Sign in Join
FPDoc Onlineexperiment

TCustomIcon.CanShareImage function

Member of TCustomIconprotectedIn unit Graphics

Indicates whether the image class type has a shared handle.

Declaration

pascal
function CanShareImage(AClass: TSharedRasterImageClass): Boolean
 ; override

Function result

Returns True when AClass is derived from TSharedIcon.

Description

Determines whether the image class type can be shared. Returns True when AClass is derived from TSharedIcon.

This is a temporary work-around to make Assign work with cursors, icons and icnsicons.

See also

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