The CxFmsDashboardCtrl object contains the following events.
A refresh operation has completed.
CxFmsDashboardCtrlObject_EventEndRefresh(Result As Integer, Status As Integer)
| Parameter | Required | Description |
|---|---|---|
|
Result |
Yes |
An integer specifying whether the refresh succeeded or failed. Possible values for this property are as follows.
|
|
Status |
Yes |
An integer specifying whether or not the refresh was canceled. Possible values for this property are as follows.
|
Example
The following example displays a message box if the refresh was canceled.
|
Sub FmsDashboard_EventEndRefresh(Result, Status) Dim This : Set This = FmsDashboard If Status = 1 Then MsgBox "Refresh canceled" End If End Sub |
The control is initialized.
CxFmsDashboardCtrlObject_EventInitialize()
Example
The following example displays a message box when the control is initialized.
|
Sub FmsDashboard_EventInitialize() Dim This : Set This = FmsDashboard MsgBox "Control initialized" End Sub |
(Obsolete)
The Session Node has been set via the "Set as Session Node" context menu item (or via the Ctrl+Shift+S keyboard shortcut).
CxFmsDashboardCtrlObject_EventSetSessionNode(NodeId As Integer)
| Parameter | Required | Description |
|---|---|---|
|
NodeId |
Yes |
The ID of the Node that was set as the Session Node. |
Example
The following example displays a message box when the Session Node is set.
|
Sub FmsDashboard_EventSetSessionNode(NodeId) Dim This : Set This = FmsDashboard MsgBox CStr(NodeId) End Sub |