Sub OnOleDocumentEvent(Sender: IOleDocumentBox; Args: IOleDocumentBoxEventArgs);
Begin
//set of operators;
End Sub OnOleDocumentEvent;
The Sender parameter returns the component that has generated the event.
The Args parameter allows 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 process 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: