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
When the data point attributes change (DP attributes in a dpConnect) this event is called.
vValue can be a single value of the type of the data point attribute or an array of according 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
Assignment
COM