Sub OnOleDocumentEvent(Sender: IOleDocumentBox; Args: IOleDocumentBoxEventArgs);
Begin
//set of operators;
End Sub OnOleDocumentEvent;
Sender - parameter that returns the component that has generated the event.
Args - parameter that enables the user to determine event parameters.
The OnOleDocumentEvent event occurs when any event of the object loaded in the OleDocumentBox component is executed.
This event is used to handle the events of the objects loaded in OleDocumentBox. The event is generated if the EnableDocumentEvents property is set to True.
The event use is given in description of the IOleDocumentBoxEventArgs.DispId property.
See also: