7 Replies Latest reply on Oct 13, 2016 4:39 AM by Acronat

    Pop-up warning


      I have this script that resets an icon via
      another button without any warning


      var oIconClear = getField("ClearIcon3").buttonGetIcon({nFace:0}); 

      getField("Button2").buttonSetIcon({oIcon:oIconClear, nFace: 0}); 

      How can I get added to the script a code that gives a warning (yes or no) and who
      stops the action when clicked NO