Question:
How can I validate the values written on a SetPoint before sending them to a tag?
Solution:
To do so, you must use the SetPonit’s Validate() event on a script. For example:
Sub Setpoint_Validate(Cancel, NewValue)
'Confirmation to change the tag's value
if MsgBox("Do you want to change the tag's value from " & Value & " to " & NewValue & "?", vbQuestion + vbYesNo, "Confirm")=vbNo then
'Cancels
Cancel = True
end if
End Sub