HtmlWindow Events

  Name Description
Public event Error Occurs when script running inside of the window encounters a run-time error.
Public event GotFocus Occurs when the current window obtains user input focus.
Public event Load Occurs when the window's document and all of its elements have finished initializing.
Public event LostFocus Occurs when user input focus has left the window.
Public event Resize Occurs when the user uses the mouse to change the dimensions of the window.
Public event Scroll Occurs when the user scrolls through the window to view off-screen text.
Public event Unload Occurs when the current page is unloading, and a new page is about to be displayed.