bbm Posted November 19, 2020 Share Posted November 19, 2020 Hi, I want to show a picture of a web cam in a form. I tried this with an UniImgae component. The request of the first picture is no problem (URL). The question is, how I can get a new picture every second. Is the UniImage the right way or is there any other solution? Best regards, Bernd Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 19, 2020 Share Posted November 19, 2020 5 hours ago, bbm said: Hi, I want to show a picture of a web cam in a form. I tried this with an UniImgae component. The request of the first picture is no problem (URL). The question is, how I can get a new picture every second. Is the UniImage the right way or is there any other solution? Best regards, Bernd Hi, As it is the same name, images come from browser cache. To force refresh, add datetimestamp to end of the url like this: UniImage.Url := MyUrl+'?'+DateTimetoStr(now); Link to comment Share on other sites More sharing options...
bbm Posted November 19, 2020 Author Share Posted November 19, 2020 Hi, thank you, I will try, Best regards Link to comment Share on other sites More sharing options...
bbm Posted November 23, 2020 Author Share Posted November 23, 2020 Hi, thankyou, works fine, Best regards Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now