Feedback
Typed event handlers are created without their default return
- Status
- Fixed
- Fixed in
- v26.8.6
- Source discussion
- https://forum.objo.dev/d/969-add-event-window-cancelclosing-doesnt-set-default-text-return-false
- Last updated
- 2026-08-29
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
When Studio adds an inherited event handler with a return type, it creates an empty body instead of inserting the explicit default return used by other generated handlers. For Boolean events such as Window.CancelClosing and Application.UnhandledException, the generated handler should contain Return False so its default behaviour is clear and immediately editable.