Announcement

Collapse
No announcement yet.

Can the sc_btn_display macro turn off a user created button?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can the sc_btn_display macro turn off a user created button?

    I am trying to use the sc_btn_display to turn on and off buttons that I have created. They are not the standard buttons like 'exit'.
    If not, is there another solution? I don't want people to be able to use certain buttons under certain conditions.
    Thanks,
    Jamie

  • #2
    Hi Jamie, Yes you can. We do it all the time.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hi,

      FYI: My buttons only worked if they did not have spaces in the button name.

      //This does not shut off
      sc_btn_display('edit primary address','off');
      // This does
      sc_btn_display('edit_email_button','off');

      - Jim

      Comment

      Working...
      X