how hide/disable a link type capture?

i have a form, it has a field named pag_terid and it field has a link type capture named cap_PAG_TERID.
i have in event onload this code:

if ({pag_ttalpgar} > 0) {
sc_field_readonly({pag_terid}, ‘on’);
} else {
sc_field_readonly({pag_terid}, ‘off’);
}

The field is set readonly with it conditional, but when the field is set to readnonly ON, the icon of link cap_PAG_TERID not is disabled
and then a user can changes the value trought of this link.

i tried with this macro but it do not works. sc_btn_display (‘cap_PAG_TERID’, ‘off’);

Its possible hide/disable this link?

disable application link…

Justo la misma pregunta, si descubris como se hace, me podes avisar?
Gracias.
I can disable an application link from an event?
exists macro?