Changing position/dimensions of a control that is part of a group

Sannyasin Brahmanathaswami brahma at hindu.org
Wed Jan 27 23:08:03 EST 2016


These lines are causing my scripts to silently fail…


 set the width of graphic "BaseControlsBkgnd" to item 3 of tCardRect

 set the left of graphic  id 1026  to 0


either one will break the script whether referred to by name or ID…

I thought I recalled some internal global to allow controls in a group to be dynamically managed… but it only appears to refer to layers and not geometric position or dimensions.


Oddly there is no error msg to alert us that there is a problem here.


Neither the group or the graphic which is part of it have their lockloc set to true.






BR


More information about the use-livecode mailing list