Cant Delete A Group.

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Cant Delete A Group.

Post by Googie85 » Sun May 23, 2021 3:34 am

Hi Guys!!!

I have created a group in my stack and I cant seem to delete the group once it has been created. Could anyone help with my problem?

Many Thanks,

Googie.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9250
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Cant Delete A Group.

Post by richmond62 » Sun May 23, 2021 9:11 am

Try typing this into the MessageBox"

delete group "xxx"

this is the only way I seem to be able to delete groups at present.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Cant Delete A Group.

Post by jacque » Sun May 23, 2021 6:02 pm

Method 1: If "Select Grouped" is bolded in LC's toolbar, click it to turn it off. Click any object in the group with the edit tool to select the group. Hit the delete key on the keyboard.

Method 2: Select the group in the Project Browser or the Application Overview, whichever you're using, click the window title bar to bring it to the front, and hit the delete key on the keyboard. If you use the Application Overview you can also right click the group in the overview list and chose Clear from the contextual menu. The Project Browser may have a similar shortcut but I don't use it.

The message box command is also an alternative but less convenient.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

andresdt
Posts: 146
Joined: Fri Aug 16, 2019 7:51 pm

Re: Cant Delete A Group.

Post by andresdt » Sun May 23, 2021 8:27 pm

Hello Googie85!
I hope we have already been able to delete the group.

Verify that the group has the cantDelete and cantModify properties set to false. Otherwise, LC will not allow you to delete and / or modify the group. If your group has more groups inside, check these properties on all child groups.

Code: Select all

..
set the cant removal of this cd to false
set mod mod of this cd to false

repeat with x = 1 to the number of groups of this cd
set cantDelete of grp x of this cd to false
set this cd's grp x edge modification to false
end repeat
..

Post Reply

Return to “Windows”