Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

OLE_ShowMessageOnObjectError() Function

  • Last UpdatedFeb 20, 2017
  • 1 minute read

By default, when an OLE error occurs, an error message dialog box is displayed.

In a script, you can specify whether or not to display the error message dialog box by using the function OLE_ShowMessageOnObjectError().

Syntax

OLE_ShowMessageOnObjectError(Boolean)

Arguments

Boolean

A value that determines if an OLE error message dialog box is displayed or not. A literal Boolean value, discrete tagname or Boolean expression with following meanings:

0 - no OLE error message dialog box is displayed when an OLE error occurs

1 - an OLE error message dialog box is displayed when an OLE error occurs

Example(s)

This script suppresses all OLE error message dialog boxes. When OLE errors occur, no error message dialog boxes are displayed.

OLE_ShowMessageOnObjectError(0);

In This Topic
TitleResults for “How to create a CRG?”Also Available in