18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Overview of VBScript<br />

4. Click the Configuration button. The Configuration dialog will open. Click the Events tab.<br />

5. Click the … button in the Script column.<br />

Use this interface to execute logics when an ActiveX object triggers an event.<br />

Variables declared in this interface are available for this interface only (local scope). In other words, they are<br />

not available for any other object in the project.<br />

You cannot implement procedures in this interface. You can, however, call procedures implemented in the<br />

Global Procedures or in the Screen Script interface for the same screen where the ActiveX object is configured.<br />

Note: For more information, see ActiveX Control object.<br />

Example:<br />

'The script below will be executed when the Calendar Control ActiveX<br />

'triggers its "AfterUpdate" event<br />

$MyYear = CalendarControl1.Year<br />

$MyMonth = CalendarControl1.Month<br />

$MyDay = CalendarControl1.Day<br />

<strong>InduSoft</strong> Web Studio Page 769

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

Saved successfully!

Ooh no, something went wrong!