Setting cantDelete of a field

Peter Bogdanoff bogdanoff at me.com
Fri Feb 16 14:21:02 EST 2018


Hi,

A colleague who is working in a LC stack has several times in the past, and just again today, accidentally deleted fields of a group acting as a background. He doesn’t notice the field is deleted, saves the stack, and all his text on many cards is gone.

LiveCode has a cantDelete property that can be set for stacks, groups, and cards. Is there any particular reason why fields or any other control cannot have that property?

I know about the cantModify, but that is a stack level property that doesn’t allow anything to be modified.

I just want to set the cantDelete property of valuable objects to true.

Peter Bogdanoff
ArtsInteractive



More information about the Use-livecode mailing list