On 25/10/2016 at 09:21, xxxxxxxx wrote:
Cinema 4D Version:
I have a dynamic combo box that is filled with string values.
AddComboBox(MY_COMBOBUTTON, BFH_LEFT, 160)
AddChild(MY_COMBOBUTTON, CUBE, "Cube")
AddChild(MY_COMBOBUTTON, SPHERE, "Sphere" )
How can I get the string value of for example the second child.
In this case Sphere?
GetString(MY_COMBOBUTTON) or GetString(SPHERE) just gives the numeric string value of the child.
Of course I can do it by "redo" the dynamic fill, but I would think that there is a way to get the string value of the combo box child.