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.
Adding extra properties to objects
Moderator: Klaus
Re: Adding extra properties to objects
That's what I meant, you said it better than I did.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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Adding extra properties to objects
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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn