CxFmsNodeChooserCtrl Events

The CxFmsNodeChooserCtrl object contains the following events.

Initialize

The control is initialized.

Syntax

CxFmsNodeChooserCtrlObject_EventInitialize()

Example

The following example displays a message box when the control is initialized.

Copy
Initialize
Sub FmsNodeChooser_EventInitialize()
Dim This : Set This = FmsNodeChooser
    MsgBox "Control initialized"
End Sub

Back to top

PumpData

(Obsolete)

Back to top

Updated

The action button at the bottom of the control has been pressed.

Syntax

CxFmsNodeChooserCtrlObject_EventUpdated()

Example

The following example displays a message box when the action button is clicked. This example is taken from FMS Node Chooser Ctrl.csf found in the APPS SCREXAMP folder.  

Copy
Updated
Sub FmsNodeChooser_EventUpdated()
Dim This : Set This = FmsNodeChooser
    Dim arySelected
    arySelected = FmsNodeChooser.GetNodeSelection()
     
    If UBound (arySelected) >= 0 Then
        Dim i, strMsg
        strMsg = "Selected Nodes: " & Vbcr
        For i = 0 To UBound (arySelected)
            strMsg = strMsg & arySelected(i) & Vbcr
        Next
     
        MsgBox strMsg
        'add script here to do something with the selection
    Else
        MsgBox "You must select a Node first"
    End If
End Sub

Back to top