ResetEvent

ITcEventView

This method resets one displayed event by the given index in the list view.

HRESULT ResetEvent(long
nIndex);

Parameters

nIndex

[in] the index of the event that should be reset. The index in the list view starts at the top with the index 0.

Return Values

S_OK

Function was successfully called

Visual Basic sample code

Option Explicit

' add the Beckhoff TcEvent View Library to the components
' place a TcEventView on the form, and assign the name TcEventView1

Private Sub Form_Load()
 Call TcEventView1.ResetEvent(0)
End Sub