Public feed #599340

Mine

public lua v1 · immutable
Raw Edit
·published 2007-07-02 04:11 UTC
rendered paste body
local button = CreateFrame("Button","GuildMailSendButton",SendMailFrame,"UIPanelButtonTemplate");button:SetPoint("BOTTOMLEFT",SendMailCancelButton,"BOTTOMRIGHT");button:SetWidth(110);button:SetHeight(22);button:SetText("Send To Guild");button:RegisterForClicks("LeftButtonUp");function button:OnClick()        GuildMail:Print("Woo!");endfunction button:OnMouseUp()        GuildMail:Print("Yar!");endfunction GuildMailSendButton:OnClick()        GuildMail:Print("Foo");end     function GuildMailSendButton:OnMouseUp()        GuildMail:Print("Bar");end