beckhoff — 7.2.2 ITcEventViewLight

Event HMI Private Sub Form_Load() TcEventView1.UseExternalLanguageResource = true End Sub 7.2.2 ITcEventViewLight The interface ITcEventViewLight is used to control the apperance of the light version of the TcEventVierwer ActiveX control. The interface derives from IDispatch so that it can be used by all languages that support COM automation interfaces. IDispatch itself derives from IUnknown. Table 13: Methods and Properties in Vtable Order TcEventLogger 112 Version:

1.1 IUnknown Methods Description QueryInterface Returns a pointer to the queried interface AddRef Increments the reference counter Release Decrements the reference counter IDispatch Methods Description GetIDsOfNames Maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can be used on subsequent calls to IDispatch::Invoke. GetTypeInfo Retrieves the type information of an object. GetTypeInfoCount Retrieves the number of type information interfaces that an object provides, either 0 or 1. Invoke Provides access to properties and methods exposed by an object.

ITcEventView Methods and Properties Description ShowLoggedEvents [} 70] displays the logged events ShowActiveEvents [} 71] displays the active events ConfirmEvent [} 71] confirms one event ResetEvent [} 72] resets one event LangId [} 72] sets and returns the language that's used for displaying event message and the source name DisableMenuItems [} 73] returns or sets the disable state of context menu SelectEvent [} 76] marks one event as selected AddConnection [} 77] adds a remote connection to another EventLogger. DeleteConnection [} 78] deletes a remote connection to another EventLogger.

DisplayComputerName [} 78] enables or disables the column that displays the computer name or returns the state. DisplayEventId [} 79] enables or disables the column that displays the event id or returns the state. ColWidthClass [} 91] sets or returns the width of the columns event class ColWidthMustCon [} 92] sets or returns the width of the column confirmation state ColWidthState [} 93] sets or returns the width of the column event state ColWidthSource [} 94] sets or returns the width of the column event source ColWidthDate [} 95] sets or returns the width of the column event date ColWidthTime [} 96] sets or returns the width of the column event time