ActiveX Controls in Logic |
DEVELOPER |
The properties and methods of ActiveX Controls can be assigned in logic.
The procedure for this is very similar to that for other PROIV Objects, i.e. the objects tag can be selected by selecting the logic line and clicking F4 key or right clicking and selecting Proiv Insert to open a window where you can select file variables, scratch variables or object tags. Select the ActiveX control. This returns the tag followed by a ‘.’, ready for the property or method to be selected, by right-clicking again. Only the valid properties and methods for the control are displayed.
The differences for an ActiveX control are in the property/method selection.
The Type column that displays P for Property and M for Method, can also display AP for Ambient Property and AM for Ambient Method. This means that the property or method is a PROIV one, rather than one belonging to the ActiveX control. A common example is the Property Visible. In this case, PROIV makes the object visible or invisible, rather than passing the setting to the control, for the control to action.
Also, the graphic for a parameter list appears in the last column if the method has a parameter list, and so requires an interface map.
If this appears, then the Interface Map , on the Logic toolbar, should be pressed, and an interface map can be selected or added, in a similar procedure to that used for Global Function calls.
Topic ID: 500002