Share via


Visual Basic: Page Designer

Load Event (DHTMLPage)

See Also   Example   Applies To

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

Syntax

Private Subobject_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.

  • When loading asynchronously, the Load event fires after the first element on the page is created.

  • When loading synchronously, the Load event fires after all elements have been created.

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