Open Automation Software

 

Button
CheckBox
CheckBoxList
DataGrid
DropDownList
HyperLink
Image
ImageButton
Label
LinkButton
ListBox
MessageBox
Panel
RadioButton
RadioList
TextBox

 
 

Main Products Sales Services Downloads Information Contact Us 請選擇你的語言 Deutsch

OPC Systems.NET OPC Client.NET OPC Controls.NET OPC Mobile.NET OPC Web Controls OPC Trend.NET OPC Web Trend OPC Alarm.NET OPC Web Alarm OPC Database.NET OPC Recipe.NET OPC Report.NET OPC Route.NET

OPC Web Controls MessageBox

The OPC Web Controls MessageBox component is great for operator entry confirmation before sending values to OPC Systems Tag Parameters..  The OPC Systems Properties are design mode accessible and allow for browsing any local or remote OPC Systems Service.  For additional description of all properties and methods refer to the OPCWebControls Help file.

OPC Web Controls MessageBox Properties

Refer to OPCWebControls help for all properties and members of the OPC Web Controls.NET components.  Easy programming is required to use the properties, OPCSystems category properties are set for design mode only.

The following parematers are key to the setup of a OPC Web Controls MessageBox.

SetValueConfirm (Set when the MessageBox is Confirmed)

SetValuePrompt (Set when the MessageBox is Confirmed and sends the value entered by the operator)

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 Parmeter specified by SetValuePromptOPCSystems_Tag use the following syntax.

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

 

 

 

Back Next