Parent frame?
I have made some background frames with borders. But I don't know how to make them have a parent name other then default UIParent. Don't know if I'm explaining this right.
So I will post my code and what I want to be able to do is anchor stuff to my frames ex...Recount, mini map, omen..... Code:
local function CreateFrames() |
Instead of naming UIParent as your frame's parent put a different frame name.
CreateFrame("Frame", "LeftFrame1", Minimap) |
Or type /fstack in your Chat and hover the Frames like Recount, Skada, ...
If you know the Frame Name of the AddOn, so you can use it as a Parent. |
Ok so I can anchor the frame to the addon but not vise versa (the addon to the frame)?
|
ADDONFRAMENAME:SetParent(YOURFRAMENAME)
|
Ok new question on frames. I made the background frames for omen and recount and they work good but now I want to make one main big frame for both omen and recount to be anchored to. Is this possible?
Frames that work. Code:
if Recount then Code:
if Recount and Omen then |
All times are GMT -6. The time now is 04:29 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI