5 Replies Latest reply on Feb 17, 2016 6:15 PM by Peter Kahrel

    InDesign CS5.5 Windows 8 Listbox text not shown

    csm_phil Level 4

      Dear All,

       

      Can you please look into my issue, the "Listbox" text not shown in the dialog. But its working in Windows 7 InDesign CS 5.5

       

      System Details:

      Windows 8.1 Pro

      InDesign CS 5.5

       

       

      var w = new Window ("dialog", "Select the Multiple Folders");
      var f = w.graphics.font;
      var arr=["12", "18", "16", "14", "13", "12"];
      var list = w.add ("listbox", [0, 0, 200, 250], arr, {multiselect:true});
      list.graphics.font=ScriptUI.newFont("Times",ScriptUI.FontStyle.REGULAR,f.size+1);
      list.graphics.foregroundColor = w.graphics.newPen(list.graphics.PenType.SOLID_COLOR, [0.55, 0.33, 01, 1], 1); 
      
      w.add ("button", undefined, "OK", {name: "ok"});
      w.show();
      
      alert(list.selection);