RE: How to enable/disable button on application tool based on some condition

      Hi,

      I added an item to the application tool bar.

      Its like a button which is displayed when the screen is called.

      Now i want to enable and disable the button(item) based on some condition.

      How to do that ???

      Regards,

      Bikash.

      hi Bikash,   you should do something like this:   IF condition is true LOOP AT screen. IF screen-name EQ button. screen-active = 0. MODIFY screen. ENDIF. ENDLOOP. ENDIF.   hope this helps ec

      User Rating: Be the first one !
      Add Comment
      1 Answers

        hi Bikash,

         

        you should do something like this:

         

        IF condition is true

        LOOP AT screen.

        IF screen-name EQ button.

        screen-active = 0.

        MODIFY screen.

        ENDIF.

        ENDLOOP.

        ENDIF.

         

        hope this helps

        ec

        Add Comment

        Your Answer

        By posting your answer, you agree to the privacy policy and terms of service.