What I'm trying to do is make a button to set a focus.
I tried something like this:
line = "/focus";
--ChatFrameEditBox:setText("");
ChatFrameEditBox:Insert(line);
ChatEdit_SendText(ChatFrameEditBox);
|
But it say that it's protect by Blizzard.
So I was wondering how to do it.