newStack | |
Type | message |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Associations | card |
Summary | Sent to the current card of a new stack right after the stack is created. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Property: script Message: deleteStack Keyword: templateStack Object: stack Glossary: object, trap, current card, message, message path Command: create stack Control Structure: pass |
Description | Handle the newStack message if you want to create additional objects or do other tasks when a new stack is created. Normally, the newStack message is handled at a higher level of the message path, since the newly-created stack does not yet have a script unless the templateStack contains one. The actual creation is not triggered by the newStack message, so trapping the message and not allowing it to pass does not prevent the stack from being created. |
Tags | objects |