Sets props of multiple objects from msg box

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Sets props of multiple objects from msg box

Alejandro Tejada via use-livecode
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?

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Sets props of multiple objects from msg box

Alejandro Tejada via use-livecode
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         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Loading...