What is the difference between

RGB Color constant "Background color none"
Object Property "Transparent" checkbox

=============================
Transparent unchecked
=============================

If the object property "Transparent" is unchecked, then

OBJECT SET RGB COLOR(*;$object_name_t;Foreground color;Background color none)

makes the object's background appear transparent.

And subsequently calling:

OBJECT SET RGB COLOR(*;$object_name_t;Foreground color;Background color)

restores the object's background color to white.

=============================
Transparent Check-marked
=============================

If the object property "Transparent" is check-marked, then the object's 
background appears transparent.

Calling 

OBJECT SET RGB COLOR(*;$object_name_t;Foreground color;Background color)

appears to have no effect: the object's background **remains** Transparent.

=============================
Question
=============================

What is the difference between the object property "Transparent" and the RGB 
Color constant "Background color none"?

In particular, why doesn't

OBJECT SET RGB COLOR(*;$object_name_t;Foreground color;Background color)

have the effect of unchecking the "Transparent" property?

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to