WoWInterface - View Single Post - Radio button like table?
View Single Post
12-26-17, 08:38 PM   #3
A Scalebane Royal Guard
MunkDev's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2015
Posts: 429
I usually put every checkbutton in a table and then use something like this as a general OnClick script:
Lua Code:
  1. local function CheckOnClick(self)
  2.     for _, button in ipairs(self.siblings) do
  3.         button:SetChecked(false)
  4.     end
  5.     self:SetChecked(true)
  6. end
  Reply With Quote