dpConnectCB()
Event as an reaction when a value changes.
Synopsis
HRESULT dpConnectCB(VARIANT vIdent, VARIANT vValue);
Parameter
Parameter | Description |
---|---|
vIdent | Passed ident |
vValue | Passed value |
Description
If the data point attributes (DP attributes in a dpConnect) change, this event is called.
vValue can be a single value of the data point attribute type or an array with corresponding types.
Example
(See ComSample.xls, CComSample)
Private Sub moComManager_dpConnectCB(ByVal vIdent As Variant, ByVal
vValue As Variant)
Dim i As Integer
If IsArray(vValue) Then
For i = 0 To UBound(vValue)
Debug.Print vIdent(i), vValue(i)
Next i
Else
Debug.Print vIdent, vValue
End If
End Sub