THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/05/2009 at 13:16, xxxxxxxx wrote:
Cinema 4D Version: 10.1
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
in a tag plugin's descriptions, I want to use tristate checkboxes.
Is that possible? And if so, how does it work?
Thanks in advance.
On 11/05/2009 at 03:31, xxxxxxxx wrote:
What do you mean with tristate checkbox? What is the third state, greyed out?
On 11/05/2009 at 04:22, xxxxxxxx wrote:
No greyed out, but more like "UNDECIDED"
I have a tag to override default attributes that come from another object. For example (just a very cheap example), the object sais: "Create Sphere". Or it sais "Create NO Sphere".
The user should be able to check the checkbox (meaning "Always create sphere, no matter what the object sais"), or to uncheck it (meaning "Never create sphere, no matter what the object sais"), or give it the third state (meaning "do whatever the object sais").
Of course, the spheres are just an example.
I saw in the SDK that Tristate checkboxes seem to be available in GeDialogs. But not in the descriptions that show up in the Attribute Manager. Is there a specific reason for that, or can I somehow use the GeDialog's Tristate checkboxes in normal descriptions, too?