nameChanged | ||||||||||
Type | message | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | |||||||||
Summary | ||||||||||
Introduced | 1.0 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Related | Property: showName, groupNames, cardNames, name, number Control Structure: pass Message: IDChanged Object: stack Function: stacks Glossary: trap, message, popup menu, menu, object | |||||||||
Description | Handle the nameChanged message if you want to make updates when an object's name is changed. For example, if you have a popup menu with the names of stacks, the menu should be updated when a stack's name changes. The actual change is not triggered by the nameChanged message, so trapping the message and not allowing it to pass does not prevent the name from being changed. | |||||||||
Tags | objects |