Hi i have a table of Data that is searched using an editbox, i have that working however, when i display the results in a For table i get the frst result spammed over and over, here is how my loop is setup.
Code:
function mymod_Update()
local Item;
FauxScrollFrame_Update(mymodScrollFrame, 40, 23, 16);
for iItem = 1, 23, 1 do
local Index = Item + FauxScrollFrame_GetOffset(mymodScrollFrame);
local Name = getglobal("mymodbutton"..Item);
Name:SetText(result);
Name:Show();
end
end
This results in my hole scrollframe spammed with the first result. not a list of results i had inteded.
i have never used loops before.
Help oO