Feedback
Commented-out desktop event handlers can generate invalid bindings
- Status
- Fixed
- Fixed in
- v26.8.6
- Source discussion
- -
- Last updated
- 2026-08-29
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
In a desktop Window, Studio can mistake handler-shaped text inside an Objo comment or string literal for a real control event-handler declaration. It then generates an AddHandler binding to a method that does not exist, which can prevent the project from compiling. Commenting out a conventionally named handler such as Button1_Pressed should remove its automatic event binding; comments and strings should never influence handler discovery.