after | |||||||||||||
Type | control structure | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Defines a message handler. | ||||||||||||
Introduced | 6.0 | ||||||||||||
OS | mac, windows, linux, ios, android | ||||||||||||
Platforms | desktop, server, mobile | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Related | Keyword: end, private Command: dispatch Function: result, commandNames, paramCount Control Structure: on, before, exit Glossary: message handler | ||||||||||||
Description | The after handler is exclusive to behavior scripts and is sent to a behavior script after all messages. For example, consider a mouseDown message moving through the message path. It gets to an object with a behavior script:
An after handler allows developers to produce behavior scripts which can handle messages sent to a control without having any effect on the message path, unlike front and back scripts. |