OleDocumentBox.OnOleDocumentEvent

Syntax

Sub OnOleDocumentEvent(Sender: IOleDocumentBox; Args: IOleDocumentBoxEventArgs);

Begin

//set of operators;

End Sub OnOleDocumentEvent;

Parameters

The Sender parameter returns the component that has generated the event.

The Args parameter allows to determine event parameters.

Description

The OnOleDocumentEvent event occurs when any event of the object loaded in the OleDocumentBox component is executed.

Comments

This event is used to process the events of the objects loaded in OleDocumentBox. The event is generated, if the EnableDocumentEvents property is set to True.

Example

The event use is given in description of the IOleDocumentBoxEventArgs.DispId property.

See also:

OleDocumentBox