Exactly do you mean by deactivate?
It appears you use this term twice in your question with possible 2 different contexts.
You write about deactivating the radio buttons and the fields. Does this mean in the same manner?
You deactivate text fields by making them read only. Do you want to do this with the radio buttons?
Once a radio button is selected, it can not be de-selected by clicking on it, it will only be de-activated by clicking on another radio button within the exclusionary group. What you have proposed will mean if a user makes the wrong choice among these 3 buttons, the user can not correct their error.
sorry for the confusion.
buttons must be turned on and off, so i must be using check boxes i think (my english is not that good).
i used the right boxes, because i already can turn them on and off.
Looking at my example above, button 1 and 2 can be selected at the same time.
But when button 3 is selected, button 1 and 2 cannot be checked.
So, the following selections must be posible
- Only button 1
- Only button 2
- button 1 and 2
- Only button 3
Lets forget the textfields for now, i know how to show and hide these fields
In the Mouse Up scripts for both 1 and 2, set the value of 3 to "Off", and in the Mouse Up event of 3, set the value of 1 and 2 to "Off".