View Single Post
12-16-09, 07:12 AM   #130
Katae
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Jun 2007
Posts: 208
Originally Posted by Lordyfrb View Post
The first is how can I make button show a frame on left click then hide it again on another left click
For the button frame:
Code:
OnClick = function(self, button)
    if button == "LeftButton" then
        if myFrame:IsShown() then
            myFrame:Hide()
        else
            myFrame:Show()
        end
    end
end
  Reply With Quote