0 Replies Latest reply: Sep 17, 2008 1:51 AM by 597755 RSS

    Disable the Button Item and Special Menu Not working using Custom.pll

    597755
      Hi All,

      I have an requirement to disable one button item and the same item also in the special menu. I am working on Release 12 version.

      begin
                if (event_name='WHEN-NEW-FORM-INSTANCE') then
                if (form_name='GMEBDTED') then
           app_special2.enable('SPECIAL40',PROPERTY_OFF);
           app_special2.enable('SPECIAL22',PROPERTY_OFF);
      set_item_property('GME_BATCH_HEADER.TRANSACTIONS',ENABLED,PROPERTY_FALSE);
           end if;
           end if;
      end;
      end event;

      I compiled this custom.pll file and reopen the form but still the button and special menu's are enabled instead of disable.

      please help me out where i am doing wrong in the logic.

      welcoming your comments.

      Regards
      Prabu