Hi,
I have a “Run” type button where there are some coding in the “OnRecord” and “OnFinish”.
When a user click on this button, I need to temporary disabled this button until the codes have run finished. Reason is being that I have some incremental value and if the user keep clicking the button before the codes run finished, it will keep increment by 1.
Thus, I tried to put the following macro in “OnRecord”, however it is not working. Can someone kindly advise? Thanks.
sc_btn_disable (“sc_button_top”, “off”);