Sign in Join
FPDoc Onlineexperiment

TSharedIcon.UpdateFromHandle procedure

Member of TSharedIconprotectedIn unit Graphics

Frees the existing icon image and reloads it from the specified handle.

Declaration

pascal
procedure UpdateFromHandle(NewHandle: TLCLHandle); virtual

Description

Calls FreeHandle to free the existing handle for the Icon in the widgetset class, and sets the handle to the value specified in NewHandle. Gets icon information from the widgetset class and adds a new icon image to the list of Images.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.