Reading and Writing Properties at Runtime
SECTION 5 ActiveX Objects
76
2. With the ActiveX Property Browser displayed select the appropriate
ActiveX control. This will list the full range of property names available for
that control in the browser, and their values.
3. The Value of each Name can be changed as required by clicking in the
value box and entering the new value. Some options require you to enter
specific information, others provide a choice of entries from a drop down
menu.
4. To edit the values of other ActiveX controls simply click the control to
select it. The values of the previous object will be replaced with those of
the new selection.
In addition to editing properties with the Property Browser, many ActiveX
controls support their own custom Property Pages. These may be accessed in
design time by either double clicking the control, or right clicking the control
and selecting Properties from the Object's popup menu:
5-4
Reading and Writing Properties at Runtime
ActiveX properties can be read and written at runtime, for example to change
values or colours as required. This can be achieved using the CX-Supervisor
script functions GetProperty and PutProperty, or alternatively in VBScript
using the normal dot syntax for example
@VBSCRIPT
Display1.Value = 100
@ENDIF
For more details see the CX-Supervisor Script Language Reference Manual.
Содержание CX-Supervisor
Страница 1: ...CX Supervisor Software Cat No W10E EN 01 User Manual Software Release 3 1...
Страница 3: ...Copyright Notice 2...
Страница 16: ...15...
Страница 17: ...16...
Страница 27: ...Tip of the Day SECTION 1 Graphics Editor 26...
Страница 35: ...CX Supervisor Preferences SECTION 2 Pages 34...
Страница 79: ...Responding to Events SECTION 5 ActiveX Objects 78...
Страница 115: ...Printing the Graphics Library SECTION 7 Graphics Library 114...
Страница 181: ...Data Logging SECTION 11 Data Logging 180...
Страница 201: ...Examples SECTION 12 Databases 200...
Страница 243: ...Performance Monitor SECTION 16 Application Analysis Performance Monitor 242...
Страница 253: ...Using with Omron s CX Server OPC SECTION 17 Using CX Supervisor as an OPC Cli 252...
Страница 259: ...Creating a CX Supervisor Client application SECTION 18 Connecting to a remote CX 258...
Страница 263: ...Adding a Point Linked to a Parameter SECTION 19 Connecting to Omron Industrial 262...
Страница 271: ...Data Logging SECTION 20 Best Practices 270...
Страница 275: ...Configuring a Server PC running Windows NT or 2000 Appendix A Configuring a PC 274...
Страница 277: ...Appendix B Frequently Asked Questions 276...
Страница 296: ...Appendix B Frequently Asked Questions 295...
Страница 297: ...Appendix B Frequently Asked Questions 296...
Страница 298: ...Appendix B Frequently Asked Questions 297...
Страница 299: ...Appendix B Frequently Asked Questions 298...
Страница 333: ...Revision history 332...