6 Replies Latest reply on Feb 25, 2013 12:44 AM by starjohn2

    disabling a gui element

    starjohn2

      Hello,

       

      I know it is possible to show/hide a ui element like this:

      dlgMain.pnlLayer.show();

      or

      dlgMain.pnlLayer.hide();

       

      I don't know if it possible to disable a ui element like

      dlgMain.pnlLayer.disable(); // ????

      which will show the element, but user won't be able to activate it

       

      Thanks