Computed Properties

I have a custom control to which I am adding Computed Properties…

But when I add them to INSPECTOR, only TEXT properties show the correct DEFAULT values… Numbers default to ZERO, and COLORS to black, regardless of what I set the default to under INSPECTOR BEHAVIOUR…

Am I missing something?

[quote=37140:@Dave S]I have a custom control to which I am adding Computed Properties…

But when I add them to INSPECTOR, only TEXT properties show the correct DEFAULT values… Numbers default to ZERO, and COLORS to black, regardless of what I set the default to under INSPECTOR BEHAVIOUR…

Am I missing something?[/quote]

Yup… If you change Inspector Behaviour once you have placed an instance on the Window… THAT instance won’t reflect the changes… you need to create a new one.

Yes
They basically get a COPY of the behavior as it was when it was created
Or just change the super to something else then change it back

I find this behaviour confusing. If you later look back you are lucky if you remember the exact order of all changes.

Ideally the system should automatically adapt the instance or should at least ask if the existing instancies should changed according to the changed control.