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.

Appendix: Built-in Scripting Language<br />

The minimum numeric value that will be accepted by the input dialog.<br />

This is an optional parameter. If no value is specified, then the dialog will accept any value.<br />

optNumMax<br />

The maximum numeric value that will be accepted by the input dialog.<br />

This is an optional parameter. If no value is specified, then the dialog will accept any value.<br />

optNumEnablePasswordMode<br />

An option to enable password mode, which obfuscates the operator's input as if it's a password:<br />

Value<br />

Description<br />

0 Show input as plain text.<br />

1 Obfuscate input.<br />

This is an optional parameter. If no value is specified, then the default is 0.<br />

optNumShowOSVK<br />

An option to show the default Virtual Keyboard, which is configured in the project settings:<br />

Value<br />

Description<br />

0 Do not show Virtual Keyboard.<br />

1 Show Virtual Keyboard.<br />

This is an optional parameter. If no value is specified, then the default is 0.<br />

Returned value<br />

This function returns the following possible values:<br />

Value<br />

Description<br />

0 Success.<br />

-1 Invalid tag specified for tagOutput.<br />

-2 Invalid number of parameters.<br />

-3 Viewer is not running.<br />

Examples<br />

ShowInplaceInput( "OperatorInput", 50, 50 )<br />

ShowInplaceInput( "OperatorInput", 50, 50, 1, 100 )<br />

ShowInplaceInput( "OperatorInput", 50, 50, 1, 100, 0, 1 )<br />

ShowMessageBox<br />

This function shows a simple message box with either an OK button or Yes / No buttons.<br />

Function Group Execution Windows Embedded Thin Client<br />

ShowMessageBox Screen Synchronous Supported Supported Supported<br />

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

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

Saved successfully!

Ooh no, something went wrong!