Using TImage32
About the documentation
Appearance
Fired when the OS GDI bitmap surface handle (Handle) is changed or re-allocated.
property OnHandleChanged: TNotifyEvent read FOnHandleChanged write FOnHandleChanged;
OnHandleChanged fires when the backend surface handle is recreated or updated (for instance, following a surface resize or backend change).
OnHandleChanged