Hello fellow MMO-champs,
atm i am trying to create 4 buttons to show differend chatframes when pressed.
so far if made 4 buttons:
general
combatlog
whispers
and loot.
in the onclick section of the scripts i placed this code.
if pressed then
ChatFrame2:Show()
ChatFrame1:Hide()
ChatFrame3:Hide()
ChatFrame5:Hide()
end
i repeated this code on every button and only changed the 1 frame to show and the rest to hide.
so atm that all works and every chatframe shows and hides accordenly.
but now if encounterd a flaw....
somehow i'm unable to type in chat when using the differend chatframes.
i'm only able to type when i last pressed the general chat.
if i try typing while having the general chat hidden it will not show me the editbox.
oddly enough this sometimes jumps around to where i need to be in my loot frame to be able to chat.
does anyone know what i'm doing wrong?
my only goal is to make 4 buttons to switch between chatframe tabs. so i can get rid of the ugly default tabs