Just one more note: I think this syntax would have been preferrable: insert the script of button "myButton" {in front of | before} group "myDatagrid".
The parser would have to determine what the object was that was already in front of the datagrid, if there was any, and "plug in" the new bahavior between them. That would mean however that the behaviors for all objects would have to be saved with each object, but I suspect it has to do that now. Another forseeable advantage is that you could possibly have the ability to insert a script BEHIND an object as well, effectively having object based front and back scripts. Not sure how handy this would be, but the syntax at least would be understandable. Bob S _______________________________________________ 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