Graphic objects
FactoryTalk View graphic objects that are part of the FactoryTalk View SE Client object model, represent Graphics runtime functionality being hosted in the FactoryTalk View SE Client.
Using these objects, you can write programs to:
- interact with loaded displays and the objects in those displays, for example validate data in input fields before they are downloaded
- load, hide, and unload displays
- add code to events that are raised by some of the objects, for example change the color or position of objects based on conditions that are too complex to be described in standard expressions
Remarks
- The graphic objects provide an automation interface into the FactoryTalk View Graphics subsystem and is intended to be used primarily with VBA code (Display code) and ActiveX controls.
- You cannot edit or create graphic objects by using the graphic objects in the FactoryTalk View SE Client object model. Any property changes made at runtime are not persisted. For example, if you change the Visible property of an object to False, the next time the display is loaded the Visible property will be True.
- The following are reserved names in the object model and should not be used to name a graphic object: Display, ThisDisplay, Application, AlarmSummary, and Me.
- Behavior when test running a display might not always be identical to runtime behavior if changes made during development are not saved. To make the behavior as close as possible you should save a display before testing it.
- If you create VBA code for an object on one display that is to affect an object on another display, the second display must have a VBA project associated with it and the object must be exposed to VBA or an error will be raised.
Provide Feedback