2.9 equivalent of screenApiColor

Discuss issues and ideas you have to configuring displays with PowerVision
nms
Posts: 14
Joined: Tue Jul 25, 2017 8:01 am

2.9 equivalent of screenApiColor

Post by nms » Fri Oct 13, 2017 2:42 am

Hello,

Today I've upgraded from 2.8.10546 Release to 2.9.20040 Public Release, as mentioned in Usability and Features document “ScreenProcess” and global video actions aren't working so I've deleted those from my configuration.

However, screenApiColor function, which I use to change text widget colors in my script is also removed. What would be the best practice that would replace this function?

Thanks in advance,

Mert
boyce
Enovation Controls Development
Enovation Controls Development
Posts: 322
Joined: Wed Sep 08, 2010 5:09 pm

Re: 2.9 equivalent of screenApiColor

Post by boyce » Fri Oct 13, 2017 11:09 am

Screen->AnimateColor is the way to change colors of screen objects dynamically. AnimateColor can be fired from an Event and also called by a script.
animatecolor1.JPG
animatecolor1.JPG (103.79 KiB) Viewed 71 times
animatecolor2.JPG
animatecolor2.JPG (142.06 KiB) Viewed 71 times
The Screen->Process is not required for the new M2 processor displays.
Boyce Schrack
Enovation Controls
nms
Posts: 14
Joined: Tue Jul 25, 2017 8:01 am

Re: 2.9 equivalent of screenApiColor

Post by nms » Mon Oct 16, 2017 2:47 am

Thank you very much Boyce!