b@0: function PCcheck(hf,noCheck) b@0: b@0: dat=get(hf,'userdata'); b@0: link=dat.test.link; b@0: hQuest=dat.hQuest; b@0: ha=dat.ha; b@0: hb=dat.hb; b@0: butCol=dat.butCol; b@0: b@0: if link(noCheck) b@0: set(hQuest(link(noCheck)),'value',0); b@0: set(ha,'backgroundcolor',butCol); % set bgcolor back to green b@0: set(hb,'backgroundcolor',butCol); % set bgcolor back to green b@0: end