cantModify | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack | ||||||
Summary | Specifies whether the user can make changes to a stack. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: card Property: cantDelete, userLevel, lockText, label, userModify, mode Command: topLevel, group Function: tool, stacks Glossary: object, property, Browse tool, title bar, handler, editable window Object: stack | ||||||
Description | Use the cantModify property to protect the objects in a stack from changes. If a stack's cantModify property is set to true, the user cannot choose any tool except the Browse tool. This prevents the user from moving, resizing, creating, or deleting objects. If a stack's cantModify is false and its label property is empty, an asterisk (*) appears in the stack's title bar, indicating that the stack can be modified. The cantModify property restricts user actions, but does not affect actions performed by a handler. To prevent either user action or a handler from deleting a card, group, or stack, use the cantDelete property.
| ||||||
Tags | ui |