The steps that follow describe how to change the data source of a FIX event in the run-time environment. To change the data source of a FIX event in the run-time environment:
Dim obj As Object Dim Count As Integer
'Set obj equal to the collection of objects contained in 'the active picture Set obj = Application.ActiveDocument.Page.ContainedObjects Count = obj.Count
'Loop through all of the objects in the picture to find 'any that are Event objects. While Count > 0 'If the object is an Event object, change its source If obj.Item(Count).ClassName = "FixEvent" Then obj.Item(Count).Source = "Fix32.ThisNode.DO.F_CV" 'Display a message box that describes the change. MsgBox "The Fix Event " & obj.Item(Count).Name & _ " is now connected to the data source " & _ obj.Item(Count).Source End If Count = Count – 1 Wend
See AlsoCreating a Direct Connection to an Object Changing a Text Object's Caption Changing a Variable Object's Current Value How Do I... |
Important Notice You do not have the latest version of iFIX! You are missing out on the newest capabilities and enhanced security. For information on all the latest features, see the iFIX product page. For more information on upgrades, contact your GE Digital sales agent or e-mail [email protected]. For the most up-to-date documentation, go here. |