Event HMI Function was successfully called E_POINTER pVal was no valid pointer Property set HRESULT put_DisableScrollbars([in] long newVal); Parameters newVal [in] A variable that sets the the enable/disable state 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() TcEventView1.DisableScrollbars = true End Sub 7.2.1.9 SelectEvent ITcEventView [ } 68] This method selects an event displayed in the list view by the given index. The selected event will be displayed highlighted.
HRESULT SelectEvent(long nIndex); Parameters nIndex [in] the index of the event that should be selected. 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.SelectEvent(1) End Sub TcEventLogger 76 Version: 1.1