sc_btn_disabled not work

Someone knows the reason why it does not work this function used just in the scope recommended by the manual?

sc_btn_disable(‘button_id’, ‘on/off’)

This macros is used to disable or enable buttons from a Menu application.

Ex:

sc_btn_disable(‘btn_2’, ‘off’);

Macro Scope
Menu application
onApplicationInit
onLoad

This error is generated when I used SC V 7.01.0021
Fatal error: Call to undefined function sc_btn_disable() in /opt/NetMake/v7/wwwroot/scriptcase/app/MCO/app_Login/app_Login_apl.php

Yes, it also happened in Scriptcase 8.01.005

Fatal error: Call to undefined function sc_btn_disable() in C:\Program Files (x86)\NetMake\v81\wwwroot\scriptcase\app\shop_admin\form_product\form_product_apl.php on line 4864

I did it in a form when I want to have checkbox field to show update mode or view mode. The fields were successfully disabled, but I want to disabled the button as well.