OnActivate
Interface AntView
Type: Event
Parameters: none
Triggers when the control activates and receives the focus.
The order of events during creation of the WebView2 control is:
- OnCreate
- OnActivate
Known bug: Currently this event does not trigger on VB6/VBA
This bug has been fixed in AntView release 2.0.629 and as such the event now also triggers in VB6/VBA.
AntView - The MS Edge WebView2 ActiveX control Date last changed: 2026/07/13