New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v193 can't match event with handler #1389
Comments
Interesting. VB6 doesn't care if there is a mismatch of ByVal/ByRef specifiers for event handlers, so for example SSTab Click is actually defined in the type library as |
Btw, this is not allowed on (early-bound) classes in VB6 and bombs with
Sample code: '--- Class1
Option Explicit
Event Click(ByVal PreviousTab As Integer) '--- Form1
Option Explicit
Private WithEvents m_oInstance As Class1
Private Sub m_oInstance_Click(PreviousTab As Integer) '<---- does not compile
'
End Sub For user-controls the IDE prepares some proxies/wrappers so all sited controls are actually called late-bound through these generated wrappers and some of their events are with changed signatures (pixels<->twips conversions) and new "extender" events are added in the process. |
Thanks @wqweto. I have put a fix for this in the next release which only applies to dispinterface source interfaces, so that should match. However, I will check this example you gave before release. |
Fixed in BETA 194, thanks! |
reOpened |
errors also present in 194 |
Hmm, certainly Ah OK, |
Listbox Itemcheck |
These should be fixed in BETA 196. Let me know if you find any that are still not correct. Thanks |
Listbox Itemcheck. |
What ListBox are we talking about here? The builtin one? |
I think so, or it could be a ListView. I will look now and can't find any others |
Yes, its the built in listbox. |
I have a big real world outside project on today so no more software input till very late evening or tomorrow |
No problem, and thanks for the info |
Issue still present in v197. |
Yeah sorry I didn't get chance to look at that today. Will fix tomorrow, cheers. |
Fixed in BETA 198. Thanks! |
v193 feels like another huge leap forwards. Thankyou. Is it helpful to report bugs now or is there another release in progress?
I see lots of "unable to match this handler to its event member"
some of the events causing this are:
SStab_click
SStab_mousedown
SStab_mousemove
updown_mousemove
toolbar_mousedown
plus others
Also a gentle reminder that Zorder is still not implemented, my Problems pane is full of yellow warnings. 😄
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: