Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 1 made on Wednesday January 22, 2020 at 14:45
Fischi
Long Time Member
Joined:
Posts:
January 2011
74
Hi, I want to set an image of a panel depending on the value of this panel
I've tried this
.........
case "F4":
lblid = "CURRENTICON";
if (value == 1) { value = "."; } else if (value == 0) { CF.widget("0","Widgetpage","TTV").setImage(); }
break; .........

My image "0" is stored under pageTag "Widgetpage" and activity tag "TTV".
This doesn't run

I have tried

.........
case "F4":
lblid = "CURRENTICON";
if (value == 1) { value = "."; } else if (value == 0) { CF.widget("0","Widgetpage","TTV").executeActions(); }
break; .........

to play e.g. a soundfile stored under the same activity/page tag
and this runs fine.

Why doesn't the setting of an image work ?
Where is my mistake?

Regards,
Fischi


Hosting Services by ipHouse