2 Replies Latest reply on Apr 24, 2015 5:38 AM by fivan

    [CC CC2014] statictext scrolling

    grg79 Level 1

      Hi!

       

      How to create a panel with text multiline and scrolling?

      In cs5/cs6:


           var finestra = new Window('dialog', "Validazione");

           finestra.bounds = [100,100,700,600];

            with(finestra) {

       

                 finestra.t1 = add("statictext",[10,10,590,30],"Rilevati  " + G_NumErrori + " errori");

       

                finestra.t2 = add("statictext",[10,40,590,460],G_TxtErrori, {multiline:true, scrolling:true});

       

                 finestra.Puls_Annulla = add("button", [10,470,590,490], "Chiudi");

                 finestra.Puls_Annulla.onClick = function(e){finestra.close()};

       

           }

           finestra.show();

       

      In CC/CC2014 don't scroll.

       

      Anyone can help me?

      Thanks!