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 Quote 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); Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.