Quantcast
WoWInterface - Search Results
Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Milton
Forum: Lua/XML Help 04-17-20, 11:13 PM
Replies: 8
Views: 2,014
Posted By Milton
Ah, I understand. Reusing it means just changing...

Ah, I understand. Reusing it means just changing the functionality of it, what is displayed and what it does, without creating a new frame.

In this case, I create maybe 500 new frames during a play...
Forum: Lua/XML Help 04-17-20, 04:25 PM
Replies: 8
Views: 2,014
Posted By Milton
When do I "reuse" a frame? I ended up creating...

When do I "reuse" a frame? I ended up creating many frames like this



So they don't have a 'name' property, and they all have the same... tar_btn - I don't know what to call this, the name of each...
Forum: Lua/XML Help 04-17-20, 02:31 PM
Replies: 8
Views: 2,014
Posted By Milton
Thank you, it worked like a charm. I added a...

Thank you, it worked like a charm. I added a MyButtons[i] = nil to the loop so that the table contains only the new frames created.

frame:SetParent(nil) I got from...
Forum: Lua/XML Help 04-17-20, 08:48 AM
Replies: 8
Views: 2,014
Posted By Milton
Closing all frames with the same name

I am creating many frames in the same spot, overlapping one another, with this:

local tar_btn = CreateFrame("Button", "get_tar", UIParent, "SecureActionButtonTemplate")

when I click them,...
Showing results 1 to 4 of 4