View Single Post
01-07-19, 12:33 AM   #10
Rusmikey
A Murloc Raider
Join Date: May 2018
Posts: 5
Thank you all for the help. That's how you solved the problem.
The code will be huge, but there is nowhere to go
Lua Code:
  1. function buttonuncheked_Click()
  2.         Otvet1:SetChecked();
  3.         Otvet2:SetChecked();
  4.         Otvet3:SetChecked();
  5.         Otvet4:SetChecked();
  6.        
  7.     end
  8.    
  9.     function button1_Click()
  10.         buttonuncheked_Click();
  11.         Otvet1:SetChecked(true);
  12.     end
  13.    
  14.     function button2_Click()
  15.         buttonuncheked_Click();
  16.         Otvet2:SetChecked(true);
  17.     end
  18.    
  19.     function button3_Click()
  20.         buttonuncheked_Click();
  21.         Otvet3:SetChecked(true);
  22.     end
  23.    
  24.     function button4_Click()
  25.         buttonuncheked_Click();
  26.         Otvet4:SetChecked(true);
  27.     end
  Reply With Quote