Feedback
Calendar DatePressed handler generated without payload parameter
- Status
- Fixed
- Fixed in
- v26.6.3
- Source discussion
- https://forum.objo.dev/d/342-calendar-crash
- Last updated
- 2026-06-11
Public summary
Creating a Calendar DatePressed event handler from Studio generated Sub Calendar1_DatePressed() without the required date As DateTime parameter. Clicking a date in month view then raised RuntimeException: Expected 0 arguments but got 1. This has been fixed so Calendar event stubs include their payload parameters and mismatched event handler arity is reported at compile/check time.