You can make a checkbox in WoW via the following commands: myCheckButton = CreateFrame("CheckButton", "myCheckButton_GlobalName", parentFrame, "ChatConfigCheckButtonTemplate"); This is where you locate the checkbox relative to its parent frame. Coordinates are (0,0) is the top-left corner of the parent, so a negative y-coordinate means down and positive x-coord means right. myCheckButton:SetPoint("TOPLEFT", 200, -65); myCheckButton_GlobalNameText:SetText("CheckBox Name"); Here is the code to do exactly the same thing, but it's not explicitly written. This is (arguably) less confusing.
Identifier (URI) | Rank |
---|---|
dbkwik:resource/JxjTdWf_k_9oeAKh6PoXtQ== | 5.88129e-14 |