(ImageEnView1.Align = alClient)
This code clears the IEBitmap:
procedure TForm1.mClearTheImageClick(Sender: TObject);
begin
ImageEnView1.IEBitmap.Clear;
ImageEnView1.Update;
end;
However, it is not visually updated - although the ImageEnView is updated in code:
ImageEnView1.Update;
Only when I MANUALLY RESIZE the image with the mouse by resizing the form, the ImageEnView gets visually updated!
How can I programmatically update after the Clear?