9 Replies Latest reply on May 5, 2017 2:02 AM by Pedro Cortez Marques

    icon button_invalid image data

    YaoyongYu Level 1
      var w = new Window ("dialog");
        w.orientation = "row";
        var f = File ("C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\AMT\LMResources s\ps.ico")
       w.add ("iconbutton" , undefined, f );  // a
        w.add ("iconbutton" , undefined, f, {style: "toolbutton"});  // b
        var t1 = w.add ("iconbutton" , undefined, f, {style: "toolbutton" , toggle: true});  // c
        var t2 = w.add ("iconbutton" , undefined, f, {style: "toolbutton" , toggle: true});  // d
        t2.value = true;
      w.show ();