Page 1 of 1

can't delete a card

Posted: Wed Apr 30, 2025 3:08 pm
by jmburnod
Hi All,
First time I get this issue.
I can't delete a card, cantdelete prop is false.
I can delete others cards of the same stack.

Thanks again for help

Best regards
Jean-Marc

OSX 13.5, LC 9.69

Re: can't delete a card

Posted: Wed Apr 30, 2025 3:55 pm
by Klaus
Hm, can you try to delete the card with the message box like:

Code: Select all

delete card X;put the result
Maybe that will give us a clue?

Re: can't delete a card

Posted: Wed Apr 30, 2025 4:46 pm
by jmburnod
Salut Klaus,
Thank You again
I get this:
Message execution error:
Error description: Object: stack locked, or object's script is executing
Hint: group "grListesPictos" of card "Ajeter" of stack "/Users/jean-marcburnod/Documents/EEpOK/EepFrEn211.livecode"

I see that cantdelete prop of group "grListesPictos" of this cd is true.
I think I have to set this for each groups after checked if a group is shared = true or backgroundBehavior =true

All the best
Jean-Marc

Re: can't delete a card

Posted: Wed Apr 30, 2025 7:10 pm
by dunbarx
Jean-Marc.

It's always something. In your case here, and my recent one, it was a property that was set that neither of us knew about. Not LC's fault, though. :wink:

Craig

Re: can't delete a card

Posted: Thu May 01, 2025 11:59 am
by jmburnod
I removed all groups from the card and was able to delete the card.
Kind regards
Jean-Marc