Hi again, I've kept experimenting with on-the-fly grouping / ungrouping of controls via script, and ran into some problems... I have 50 images (10 rows of 5, equally spaced & sized). Users are supposed to choose some of these images. When choosen, each image appears with borderwidth=3, while others remain with borderwidth=1. Then I want to group choosen images into group "sel" and others into group "ima" for moving them around faster, or for easier scrolling up & down. As for grouping, I used 2 techniques : 1) repeat with i=1349 to 1398 -- id #s of my images if borderwidth of image id i = 3 then set the selected of image id i to true end if group 2) inside a repeat loop I accumulate strings in a variable to finally get something like : "group image id 1349 and image id 1350" etc. and then : do My_variable BTW I checked the content of My_variable and it's correct. As for ungrouping, I also used 2 techniques : 1) select group "ima" ungroup 2) ungroup group "ima" and each time, after the controls are ungrouped, I carefully set the selected of each one back to false. All operations are done within lock screen / unlock screen for speed and display cleanness purposes. Now here's the problem : my script quits MC app, or whenthe stack runs as a standalone it crashes or even freezes the Mac OS. What makes me think it might be a MC engine bug is that the script never crashes at the same time : it can run 2 to 7 times before crashing... And when only 1 group is created (all images are choosen, or none is choosen), it runs perfectly... I even tried without lock screen (as I had several problems with lock screen in OMO in the past), but problem remains... I'm using 2.3.2 on Mac Os, and have tried on various Macs running OS 8.1 , 8.5 and 9. And the results are the same with MC app or as a standalone... Haven't got the time to try under Windoze though... Thanks. JB Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
