I hav created my own form through screen painter and dragged a linked button on it.
"I am using the following code to disable the link button"
///////////////////////////////////////////////////
private SAPbouiCOM.Form oContStatus;
oContStatus = SBOApplication.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount);
oContStatus.Items.Item("11").Enabled =false;