TIcon.Handle property
Handle used to access the image data for the icon.
Declaration
property Handle: HICON read GetIconHandle write SetIconHandle;Description
Handle is a
HICON property which contains the handle
for the icon used to access its image data. The property value is provided by
the inherited GetHandle method, and contains the handle for its
TSharedRasterImage instance.
Setting a new value for the property causes the previous handle and the canvas device context to be freed. The previous image is cleared and unshared as well.
The inherited UpdateHandle method is called to apply the new handle to the shared image, and to load its icon data.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
