Page 1 of 1

remove grouped but retain objects

Posted: Tue Mar 03, 2015 12:05 am
by jalz
Hi Guys,

I have a number of objects including labels, fields and a datagrid which I have grouped and called it scrollbar. I now need to remove that group but want to retain all the objects that are in it.

Is there anyway of removing the new group without disturbing the contents inside of it. One way I could use is to edit the selected group copy the contents into clipboard, stop editing and delete the group and then paste the objects from clipboard, but is there another way? I'm worried I will mess up my datagrid object using the previous method.

Thanks
Jalz

Re: remove grouped but retain objects

Posted: Tue Mar 03, 2015 12:18 am
by bn
Hi jalz,

Code: Select all

on mouseUp
   select group "myGroupToBeDeleted"
   ungroup
   select empty -- optional
end mouseUp
It works for me, you could try it on a separate stack to be sure.

Kind regards
Bernd

Re: remove grouped but retain objects

Posted: Tue Mar 03, 2015 12:43 am
by jalz
Thanks Bernd,

that did the trick