Sets props of multiple objects from msg box

J. Landman Gay jacque at hyperactivesw.com
Wed Feb 22 01:12:15 EST 2017


On 2/21/17 8:46 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> select three fields
>
> enter in msg box:
>
> set the margins of the selectedObjects to 10,10,10,10
>
> Expected: margins of all three fields should change
>
> observed: only the first one registers a change in margins
> the other two do not.
>
> Is this a bug?

I don't think so, you need to get the selectedObjects and run a loop. I 
think that's how the property inspector does it too. In fact, if this is 
just for development, it's easier to do it in the PI.

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




More information about the use-livecode mailing list