Grouping controls within a group

Peter Haworth pete at lcsql.com
Wed Feb 26 18:58:14 EST 2014


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>



More information about the use-livecode mailing list