KB-33309: Objects’ color settings via RGB function.

Question:

How can colors be set in objects via RGB function?

Solution:

A possible solution would be to create a Ram tag for each item in RGB (red, green, blue), and then create a script in each tag’s OnValueChanged event to attribute the mix’s RGB to them as follows:

Object.Property = RGB(RedTag, GreenTag, BlueTag)

You can find RGB function in the Global Manager, via AppBrowser.

NOTE: Attached to this article is a sample application illustrating these procedures.

Attachments:

Sample

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *