BC32022: '<eventname>' is an event, and cannot be called directly
'<eventname
>' is an event, and so cannot be called directly. Use a RaiseEvent
statement to raise an event.
A procedure call specifies an event for the procedure name. An event handler is a procedure, but the event itself is a signaling device, which must be raised and handled.
Error ID: BC32022
To correct this error
- Use a
RaiseEvent
statement to signal an event and invoke the procedure or procedures that handle it.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for