Bug or feature? setProps when replacing whole propertySet

J. Landman Gay jacque at hyperactivesw.com
Thu Feb 12 14:00:01 CST 2009


Richard Gaskin wrote:

> What I discovered is that when you replace a whole set of properties en 
> masse like this, the setProp handler for the affected property set 
> doesn't trigger.
> 
> It'd be darned convenient if it did, but perhaps there's some reason why 
> it shouldn't.
> 
> Is this a bug or a feature?

More like not implemented, I think. SetProp catches individual 
properties, but not whole sets. I don't suppose the engine actually 
walks through each property when it does a mass replacement like that, 
so no individual property events are sent.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list