#### Accessing an ActiveX Object’s Methods and Properties from Basic

If you have added a control, for example, an ActiveX calendar control and called it MSCAL, you can access its events and properties through the property sheet just like any other object. In this case, since it is an ActiveX object, a new section of properties will appear called ActiveX. It contains a user-accessible list of variables and properties with their default values.

To set properties for the ActiveX control inside the VBS Mini-Editor for an event handler, type the name of the control, in this case, "MSCAL." (with the period). A window appears allowing the variables and methods to be accessible. Select the "X" from the list. Another popup window will appear listing a set of internal editable variables for the ActiveX control.

See "Using PC-DMIS ActiveX Controls" for information on the properties of the different PC-DMIS ActiveX controls.