No problem, but check out my edited text, was rereading the thread and noticed that you already had the button toggle code with a chatframe hide in there.
From what I'm reading, that code looks like it should work. The problem is, there is no frame in-game named chatframe. There are chatframe1 (generally, general), chatframe2 (generally, combat log) and chatframe3+ which would be any extras you make when you right click on a tab and say "new chat window".
However, if you don't remember what order you created those windows in, knowing the number off-hand's really not possible. Instead, use the command /framestack in-game. It tells you the names of every frame under your cursor. Find out the number of that chatframe that is being covered up.
That toggle button code you had earlier:
Code:
OnClick = function(self, button)
if button == "LeftButton" then
if LP_Box:IsShown() then
LP_Box:Hide()
ChatFrame#:Show()
else
LP_Box:Show()
ChatFrame#:Hide()
end
end
end,
If you look at the magenta hilighted section there, that is the number that you need to insert from /framestack. Does that make sense? Also, from the same post, the text for the actual panel has the parent as just chatframe. Add the number after that as well (so parent=ChatFrame
#) and see how it works.