Scripting > CxHmiFms > CxFmsConfigCtrl Object > CxFmsConfigCtrl Events

CxFmsConfigCtrl Events

The CxFmsConfigCtrl object contains the following events.

EditModeChange

Begin or finish editing data.

Syntax

CxFmsConfigCtrlObject_EventEditModeChange()

Remarks

This event will be fired if one of the following conditions is met.

Example

The following example displays a message box when the Edit mode changes.

  

Sub FmsConfig_EventEditModeChange()

Dim This : Set This = FmsConfig

MsgBox "Edit mode changed"

End Sub

Back to top

EndRefresh

A refresh operation has completed.

Syntax

CxFmsConfigCtrlObject_EventEndRefresh(Result As Integer, Status As Integer)

Parameters

Parameter Required Description

Result

Yes

An integer specifying whether the refresh succeeded or failed. Possible values for this property are as follows.

  • 0 – Success
  • 1 - Failure

Status

Yes

An integer specifying whether or not the refresh was canceled. Possible values for this property are as follows.

  • 0 – Not canceled
  • 1 - Canceled

Example

The following example displays a message box if the refresh was canceled.

  

Sub FmsConfig_EventEndRefresh(Result, Status)

Dim This : Set This = FmsConfig

If Status = 1 Then

MsgBox "Refresh canceled"

End If

End Sub

Back to top

Initialize

The control is initialized.

Syntax

CxFmsConfigCtrlObject_EventInitialize()

Example

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

  

Sub FmsConfig_EventInitialize()

Dim This : Set This = FmsConfig

MsgBox "Control initialized"

End Sub

Back to top

PumpData

(Obsolete)

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.