Type | Description | |||
String |
A string expression that provides details about an OLE event. The ToString property formats the information as follows:
Name[ID] (Param/Type = Value, Param/Type = Value, ...)
|
For instance the following code:
Private Sub Pivot1_OleEvent(ByVal Ev As EXPIVOTLibCtl.IOleEvent) Debug.Print Ev.ToString End Sub
generates an output such as:
Event[36863](EventID/Long = -607) MouseUp[-607](Button/Short = 1,Shift/Short = 0,X/Long = 225,Y/Long = 152) Event[36863](EventID/Long = -600) Click[-600]() Event[36863](EventID/Long = -602) KeyDown[-602](KeyCode/Short* = 18,Shift/Short = 4) Event[36863](EventID/Long = -602)