You can also use the "start / stop editing" command while locking the screen. Basic testing shows it that just messing with relayerGroupedControls doesn't help... Could be nice if that'd be possible. Until then, the following works:
on mouseUp lock screen start editing group 1 group button 1 and button 2 stop editing end mouseUp On 27.02.2014, at 00:58, Peter Haworth <p...@lcsql.com> wrote: > I have a need to group controls within an existing group into a subgroup by > script, but I get a runtime error when trying to do that - in 6.5.2 the > message is "Object cannot be grouped". > > Any ideas on how to do that? The only way I can think of is to ungroup the > main group, group the selected controls to form the subgroup, then group > the subgroup and the rest of the controls to reinstate the main group, but > that's pretty scary! > > > Pete > lcSQL Software <http://www.lcsql.com> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> > _______________________________________________ > 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 -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ _______________________________________________ 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