I take part of that back

 set the width of graphic id 1026 of grp "baseControls" to item 3 of 
tCardRectByStack

     set the left of  graphic id 1026 of grp "baseControls" to 0


works


but not if we refer to the graphic by name

http://www.himalayanacademy.com/apps/gurudeva


On January 27, 2016 at 6:08:03 PM, Sannyasin Brahmanathaswami 
(bra...@hindu.org<mailto:bra...@hindu.org>) wrote:

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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to