![]() |
|||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
|
Tutorial - Getting Started with Delphi and the OPC Web Client ActiveX Controls Creating a new project Referencing the OPC Web Client In order to use the OPC Web Client ActiveX Controls, we need to reference it and allow Delphi to build the appropriate
wrappers. This specific process of building the wrappers ONLY NEEDS TO BE DONE the first time you ever use the OPC Web Client ActiveX Controls. Once the wrappers are built you will be able to skip this step and go straight to step Installing the OPC Web Client in future projects. Installing the OPC Web Client component into your Project Using the OPC Web Client By far the easiest way to use the OPC Web Client within Delphi (for learning purposes) is to simply create a simple form
with a push-button. All Delphi code will then be placed within the click-event handler for the push-button. You will find within the Delphi development toolbar under the "ActiveX" section two new icons for the OPC Web Client: Now simply add the button to the form as shown below: Now double-click on the button to go to the click event handler: You are now ready to paste code from the tutorials section into this event. |
|||||||||||||||||||||||||
|
Copyright Software Toolbox, Inc., 1996-2004, All Rights Reserved Worldwide. |
|||||||||||||||||||||||||