Originally Posted by Unkn
Code:
OnClick = function(self, button)
if button == "LeftButton" then
if LP_Box:IsShown() then
LP_Box:Hide()
ChatFrame1:Show()
ChatFrame2:Show()
ChatFrame3:Show()
ChatFrame4:Show()
else
LP_Box:Show()
ChatFrame1:Hide()
ChatFrame2:Hide()
ChatFrame3:Hide()
ChatFrame4:Hide()
end
end
end,
Is what I was doing, however its not hiding the chat frames when a message is sent. I tried ToggleFrame(ChatFrame...) as well.
|
Hmm... Hiding the frame might be the only way. With KGP, you just need to create a panel to overlap whatever you try and cover, not try and get it to hide.