hello
i don't know how i can add messages...
or clear the box..
i have tested:
local LIST = getglobal("<FORMNAME>".."MultilineEditBox".."ScrollingMessageFrame");
LIST:Clear();
etc...
but taht is wrong..
can any one give me an example?
*edit
ok i have my answer:
Code:
function lfp()
local LIST = getglobal("LuthicLibForm".."MultilineEditBox1".."Edit");
LIST:EnableKeyboard(0);
LIST:SetText("");
LIST:ClearFocus();
local Players = GetNumRaidMembers();
for i=1,Players do
local name, rank, subgroup, level, class, fileName, zone, online = GetRaidRosterInfo(i);
LIST:Insert(name.."\n");
end
end