I want to run two images consecutively. I try to in an endless loop but my application has been blocked.
It looks like a gif but I don't have a gif with these images. I tried the following:
while 1=1 then
begin
btnNotification.Glyph.LoadFromFile(ICON_DIR + '/notification-active-1.bmp');
sleep(200);
btnNotification.Glyph.LoadFromFile(ICON_DIR + '/notification-active-2.bmp');
end;