Quantcast WoWInterface - View Single Post - Help on ScrollFrame with LUA
View Single Post
02-11-13, 03:04 AM   #4
A Cobalt Mageweaver
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 232
After a little bit of coding I am not able to display anything inside , probably because I think I miss something more :-/

I have in my addon a defined config frame in this way:

Lua Code:
  1. local options = CreateFrame("Frame", ADDON.."Options", InterfaceOptionsFramePanelContainer)
  2. [...]

and so I changed your code in this way:

Lua Code:
  1. local scrollFrame = CreateFrame("ScrollFrame", "MyFirstNotReallyScrollFrame", options, "FauxScrollFrameTemplate")

Then I begin to populate the list array:

Lua Code:
  1. local list = {"aaa", "bbb", "ccc" }

But I don't get any output (nor errors).

I think I miss the frame to be displayed if I understand well what you wrote to me.

Thanks for attention.
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote