Following my previously asked question; How do I display two images consecutively like a gif?, I was told that I could create a gif
.
Here is my reason: tspeedbutton does not accept .gif
extension for me.
How can I add this?
btnNotification.Glyph.LoadFromFile(ICON_DIR + '/notification-active.gif');
I googled but couldn't find documentation because of Delphi.
Hello,
Actually i am trying to create Notification button. If there is no notification, its image is notification.bmp but if there is notification, it should be gif on tspeedbutton. I added a timer and polling the server, is there any notification for me ? in every 6 seconds, if yes i need to change bmp image to gif on tspeedbutton