Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 17/06/2016 at 01:49, xxxxxxxx wrote:
User Information: Cinema 4D Version: R17 Platform: Windows ; Language(s) : C++ ;
--------- Hello.
I have a GeDialog subclass that reimplements the Command method. Whenever The command is called, I get the new parameter values. How can i also get the previous ones ?
The reason why I need this is because I have a combo box that when switched, some buttons have to switch their images. I want to avoid switching these images if the same combo box value has been selected twice in a row.
So I want to check "If new value is not the same as previous, switch images".
Thank you for your time.
On 20/06/2016 at 06:13, xxxxxxxx wrote:
Hi, the command message is sent after the values have been changed. So there's no built in way to get the last/old value. Instead you will have to store the old values yourself.