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

Hi Jamie, Yes you can. We do it all the time.

Hi,

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

//This does not shut off :frowning:
sc_btn_display(‘edit primary address’,‘off’);
// This does :slight_smile:
sc_btn_display(‘edit_email_button’,‘off’);

  • Jim
1 Like