Disable button by sc_apl_conf?

Hi :D!

Is it possible to disable a button on other application by using sc_apl_conf?
I mean besides the insert,update and delete,
can we disable a button by using sc_apl_conf?

Hi Brian,

Have you tried sc_btn_display(“button_name”,“on/off”) instead of sc_apl_conf()? :slight_smile:

[QUOTE=Brian;29143]Hi :D!

Is it possible to disable a button on other application by using sc_apl_conf?
I mean besides the insert,update and delete,
can we disable a button by using sc_apl_conf?[/QUOTE]

Hello Good Morning …
Try this


//btn_display_off or btn_display_on
sc_apl_conf('my_app', 'btn_display_off', 'my_button');

Thanks for the reply:D!
I tried sc_apl_conf(‘my_app’, ‘btn_display_off’, ‘my_button’) and it doesnt work!
Nothing really happened after I added that code, so is that possible to disable disable a button on other application by using sc_apl_conf?

I am using this method, it works for me
:frowning:

:eek:
Is this related to the version?, I am currently at 8.00.0014
Or where should I put it?
I am trying that code in a PHP function in a login application, is there something I did wrongly?

This does not work even in the latest version. Looks like a bug.

So is there any other way disable a button across applications?:confused: