Feedback
Bare AddressOf in control event handlers binds to the event source
- Status
- Fixed
- Fixed in
- v26.5.7
- Source discussion
- -
- Last updated
- 2026-05-29
Public summary
Desktop projects can crash at runtime when a control event handler registers another event handler using a bare AddressOf method name.
In the provided MapView project, clicking Button1 raises Window1.Button1.Pressed, and AddHandler conn.Error, AddressOf HandleError fails with Undefined property 'HandleError' instead of binding to the window method.