Page 2 of 2

Re: Adding extra properties to objects

Posted: Wed May 14, 2014 10:21 am
by SparkOut
I think where Richmond wanted to add properties he was talking about built-in properties that are available to some objects but not others.

You could not, for example "set the htmltext of the label of button 1 to the htmltext of field 1" - and a virtual property would not help with that, I don't think. So working on the engine code would be required to add this property to the button label.

Re: Adding extra properties to objects

Posted: Wed May 14, 2014 4:13 pm
by jacque
SparkOut wrote: You could not, for example "set the htmltext of the label of button 1 to the htmltext of field 1" - and a virtual property would not help with that, I don't think. So working on the engine code would be required to add this property to the button label.
That's what I meant, you said it better than I did.

Re: Adding extra properties to objects

Posted: Wed May 14, 2014 4:32 pm
by FourthWorld
When you need a new type of control that mixes the best of existing control types that sounds like a good case for a custom control.