defano / wyldcard

A clone of Apple's HyperCard and HyperTalk scripting language.
https://github.com/defano/wyldcard/wiki
MIT License
117 stars 12 forks source link

closeField event doesn't seem to trigger on a field #114

Open ooper-zz opened 2 years ago

ooper-zz commented 2 years ago

to duplicate, create a field, set its script to: on closeField answer the target end closeField

Nothing happened to me on a background field

If I have some time this weekend, I'll have a look further and send a PR

ooper-zz commented 2 years ago

@defano I have created a pull request for enabling the CloseField message. The attached stack has the card with field scripts to verify this functionality. Thanks! close-field-test.stack.zip