Feedback
Control event handlers mis-type Me and leak generated names
- Status
- Fixed
- Fixed in
- v26.6.3
- Last updated
- 2026-06-11
Public summary
Control event handlers could be analysed as if Me referred to the owning window instead of the control that raised the event. This affected Boolean-returning handlers such as ListBox.PaintCellText, where code like Me.RowTag(row) should resolve against the ListBox. Related analyser diagnostics could also show generated handler names such as ListBox1_PaintCellText instead of the public ListBox1.PaintCellText event name.
Fixed so control event handlers consistently analyse Me as the event source control and Self as the owning subscriber/window, suppress fixed-signature parameter-count warnings for real control events, and format control event diagnostics with public event names.