Disable a Relationship tab

Hello Team,

I need to disable a relationship tab as the User selects a option button on the form.

Detailed Info: I have a option button on a form. Once the user selects this option, a tab from relationship below should be disabled. I am trying to work this out on the OnChange Field event for the option button but its not working. I am able to do the same on the OnFormPopulate event but it wont work on real time, only when the form is refreshed, it works.

I need a solution where i can be able to disable enable the relationship tab as soon as the user selects or deselects the option button.

Please advise.

Thanks in advance,

Mithun