View Single Post
06-22-19, 06:36 AM   #1
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 120
Finding Frames of other Addons and overwriting their position

Hi,

Im using several AddOns and some of them do not allow to anchor to certain frames.
So what I really would like to do is to be able to find those frames and to overwrite them.
Yet I could not find any way to do this. At first I would need to find frames by its name:

Code:
local children = { UIParent:GetChildren() }

for _, child in ipairs(children) do
     print("child: " .. child:GetName());
end
--> Does not work

Code:
local frame = EnumerateFrames();

while frame do
    print("child: " .. frame:GetName());

    frame = EnumerateFrames(frame));
end
--> Also does not work

Is there no way to iterate over all frames and to find the frame I need by its name?

Last edited by Lybrial : 06-22-19 at 06:38 AM.
  Reply With Quote