Load Event (DHTMLPage)

       

Occurs when the browser loads an HTML page in your application.

Syntax

Private Sub object_Load

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

There are two distinct behaviors for this event, depending on whether your page is set to load asynchronously or not.

Programmers can use this event when running asynchronously (when the AsyncLoad property is set to True) as a notification that all elements have been loaded onto the page.