Showing results 1 to 1 of 1
Search took 0.00 seconds.
Search: Posts Made By: p3lim
Forum: Lua/XML Help 12-05-10, 08:03 PM
Replies: 4
Views: 27,845
Posted By p3lim
local button = CreateFrame('Button',...

local button = CreateFrame('Button', 'MyButtonName', UIParent)
button:SetPoint('CENTER')
button:SetSize(16, 16)
button:SetScript('OnClick', function()
-- do something
end)



<Ui>
Showing results 1 to 1 of 1