Inspector Behaviour

Is there a trick to this?
I have a custom class with Computed Properties, and they all show up in the Inspector Behaviour Dialog, and I can make them visible so they show up when you are “inspecting” the control, as well as any default properties not showing if I turned them off…

HOWEVER, not all of the default values are coming thru, especially on boolean properties. some do, others don’t reflect the “default” values I put in the Behaviour Dialog… seems the numeric and color related properties all work as defined

actually some of the numeric ones are showing as ZERO, when I put in non-zero values

ok… MORE wierdnes… if I drag a NEW copy of the control. All of IT’s properties show up properly?!

[quote=175776:@Dave S]Is there a trick to this?
I have a custom class with Computed Properties, and they all show up in the Inspector Behaviour Dialog, and I can make them visible so they show up when you are “inspecting” the control, as well as any default properties not showing if I turned them off…

HOWEVER, not all of the default values are coming thru, especially on boolean properties. some do, others don’t reflect the “default” values I put in the Behaviour Dialog… seems the numeric and color related properties all work as defined

actually some of the numeric ones are showing as ZERO, when I put in non-zero values

ok… MORE wierdnes… if I drag a NEW copy of the control. All of IT’s properties show up properly?![/quote]

Changing the default values in the Inspector Behaviour Dialog has never had an effect on controls ALREADY on a window. It’s expected behavior. The values are populated from teh template when teh control is places on the window.

  • Karen

Well Darn… Thanks… I kinda thought that was it… it won’t be an issue when the control is “complete”, but while testing its a bit cumbersome