How to bind to and from ActiveX controls
Binding events to or from an ActiveX control is quite simple. Right-click the ActiveX control and select Descriptor Properties in the pop-up menu. The dialog box shows you a list of all properties that you can change from IGSS.
In the Bind column, you can see which properties can be bound to an IGSS object. If the property can be bound, one or two arrows are shown beside the property name.
The following arrow indications are used:
|
This indication is used … |
when the property … |
|
|
can be bound to an IGSS object, but is currently not bound. A left arrow means that the property can be bound to an IGSS object value, for example, the current process value. A right arrow means that the operator can change an IGSS object value during supervision by changing this property. In our example, the operator may change the current process value by moving the needle in the display which changes the NeedleValue property. |
|
|
is currently bound to an IGSS object. A left arrow means that the property is bound to an IGSS object value, for example, the current process value. A right arrow means that the operator can change an IGSS object value during supervision by changing this property. In our example, the operator may change the current process value by moving the needle in the display which changes the NeedleValue property. |
In the following example, the property NeedleValue
is bound to an IGSS object value. When the object value changes, the NeedleValue will change accordingly.
Binding an IGSS object value to an ActiveX control
When you want to bind an IGSS object value to an ActiveX control, you must do the following:
Result: TThe property will now be marked with a green arrow pointing left meaning that the property is bound to the ActiveX control.
Binding an ActiveX control event to an IGSS object
Note: If you set the property to NoMouseControl, the operator will not be able to move the needle.
The property will now be marked with a green arrow pointing right meaning that an IGSS object value can be changed by manipulating the ActiveX control during supervision.
Changing static properties
When you want to change the static properties of an ActiveX control, the easiest interface is most often using its own properties dialog box. Click here for details.
You can only bind properties to or from the ActiveX control from the Descriptor Properties dialog box using the pop-up menu. This is not possible from the ActiveX control’s own properties dialog box.