1 Reply Latest reply on Jul 2, 2008 4:54 AM by SujitG

    Image's buttonMode Enable and Disable

    Vicky...
      Hi

      I am using image as a button, now in some cases I want to make this button(i.e. image) disabled and in some cases enabled. I am somehow not able to make that...I dont know what is the fuss over there, even the .enabled false is not working...Can anybody please suggest a way to do the same...


      Please reply ASAP...as this is halting the progress of my workk....

      Eagerly waiting...

      Thanks
      Vicky
        • 1. Re: Image's buttonMode Enable and Disable
          SujitG Level 2
          Hi,

          You can try toggling the buttonMode property rather than toggling the enabled property. If you are handling the click event of the Image, the event is fired even after disabling the image or setting the buttonMode to false. So, you should may be check if the Image is enabled or not in the click event handler and take necessary action.

          Hope this helps.