Thread Tools Display Modes
05-28-06, 10:59 AM   #1
Luthic
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 2
MultiLineEditBox

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

Last edited by Luthic : 05-28-06 at 12:09 PM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » MultiLineEditBox


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off