Frame iteration question
Hello, I have a question on frame iteration and LUA scope (I am quite new to LUA). What I want to do is make a function that creates a bunch of child frames that connect to the parent frame and shoves them in a table but I haven't been able to make my attempts work. The reason I'd like to have a table is so that I can then iterate over them easily and change attributes.
Code below: Code:
|
Function names are case sensitive so for starters you need
Code:
local frame = CreateFrame("Frame", "myframename", UIParent) So you could just as well store the references to the children on the parent frame. Code:
for i=1,5 do |
Okay, that seemed to clear up the problem. Thanks!
|
All times are GMT -6. The time now is 03:43 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI