deleteWidget | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | widget |
Summary | |
Introduced | 8.0 |
OS | mac, windows, linux, ios, android, web |
Platforms | desktop, server, mobile |
Example |
|
Related | Command: undo Glossary: command, message, pass, trap Object: stack, widget |
Description | Handle the deleteWidget message if you want to perform cleanup before a widget is removed from the stack. The actual deletion is not triggered by the deleteWidget message, so trapping the message and not allowing it to pass does not prevent the widget from being removed. However, the undo command will restore a widget after it is deleted by the user. |
Tags | objects |