18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Screens and Graphics<br />

• Properties: Variables whose values can be read and/or written for your project (e.g., Object Color, FileName,<br />

URL, and so forth)<br />

• Methods: Functions from the .NET Component that can be triggered by your project (e.g., open a dialog,<br />

execute a calculation, and so forth)<br />

• Events: Internal messages that can trigger the execution of expressions in your project (e.g., Mouse_Click,<br />

Download_Completed, and so forth)<br />

The properties, methods and events supported by each .NET Component vary according to the component's<br />

implementation.<br />

Caution: When using .NET Components in your project, make sure that the target system (runtime<br />

station) can support the same components and that they are properly installed and registered. Your<br />

project includes links to the .NET Components; however, the installation of these components on the<br />

target system must be done separately. Furthermore, when .NET Components are used on screens<br />

open in remote Thin Clients, the .NET Components must also be manually installed on the Thin<br />

Client stations. The Microsoft Windows operating system installs a large selection of components<br />

by default, but additional components are offered by third-party providers. Consult your .NET<br />

Component provider for further information about how to install.<br />

Selecting and Placing a .NET Control Object<br />

To select and place a .NET Control object in your project screen:<br />

1. On the Graphics tab, in the Libraries group, click .NET Control.<br />

2. When the .NET Framework Components dialog opens (as in the following figure), it contains a list of<br />

all .NET Components that are registered on your computer.<br />

.NET Framework Components dialog<br />

3. Select a component from the list, and then click OK to place it in your project screen. You can also click the<br />

Browse… button to find an unregistered component on your computer.<br />

Tip: Registered .NET Components are typically stored in the following directory:<br />

C:\WINDOWS\Microsoft.NET\Framework\<br />

However, you can have the application include unregistered components in the .NET Framework<br />

Components dialog by editing the project_name.APP file to add this parameter:<br />

[Execution Environment]<br />

DotNetControlPath=OptionalPath<br />

For example:<br />

[Execution Environment]<br />

Page 216<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!