we created a message editor, which allows the user to create and change messages, which are saved as bitmap graphics to the pictures folder of Winccoa. The filename is always the same in our example and must not change.
Code: Select all
string filePath = "C:/foo.jpg";Code: Select all
dpConnect("onGraphicChanged", true, "Pump1.Request.TriggerReload");Code: Select all
void onGraphicChanged(string dp, bool trigger) {
table1.cellFillRC(1, "picture", "[pattern,[fit,any," + filePath + "]]");
}It seems that if a bitmap with a filename is loaded, it is cached internally by WccOA to minimize computation efforts.
How can we disable this functionality or reduce the time between the checks for a newer content? We rely on the bitmap being reloaded instantly and we cannot change the filename, unfortunately.
I hope I described the problem precisely. If not, please let me know.
Thanks in advance and with best regards,
moTo