OPC Web Controls MessageBox Methods

There are 3 types of MessageBox to implement, Alert, Confirm, and Prompt.  Only Confirm and Prompt will send values automatically to an OPC Systems Tag Parameter when the MessageBox is confirmed.

 

To implement a Confirm MessageBox that will send the value specified in SetValueConfirm*Value to the Tag Parameter specified by SetValueConfirmOPCSystems_Tag use the following syntax.

OPCWebControlsMessageBox1.Show("Send Value",OPCWebControls.OPCWebControlsMessageBox.DialogType.Confirm)

 

To implement a Prompt MessageBox that will send the value entered by the operator to the Tag Parameter specified by SetValuePromptOPCSystems_Tag use the following syntax.

OPCWebControlsMessageBox1.Show("Send Value",OPCWebControls.OPCWebControlsMessageBox.DialogType.Prompt)