Changing position/dimensions of a control that is part of a group
Sannyasin Brahmanathaswami
brahma at hindu.org
Wed Jan 27 23:13:30 EST 2016
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 (brahma at hindu.org<mailto:brahma at 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
More information about the use-livecode
mailing list