Previous topicNext topic
Help > Events >
BrowserGotFocus

BrowserGotFocus Event

Fired when the browser receives focus.

Syntax

Private Sub object_BrowserGotFocus(Reason As oWebView2FocusReason)

The BrowserGotFocus event syntax has these parts:

Element Description
Object The object placeholder represents an OrdoWebView2 control
Reason

oWebView2FocusReason.
    FocusReason_PROGRAMMATIC = 0
    FocusReason_NEXT = 1
    FocusReason_PREVIOUS = 2