Frame Reparenting
WoWWiki states that CreateFrame() takes the form:
CreateFrame("frameType"[ ,"name"][, parent][, "inheritFrame"])
That third argument indicates our frame will take on the assigned parent, or UIParent if not specified. What I'd like to know is if there is any way to reparent a frame. If I have two frames open, "Panel_1" and "Panel_2", and Panel_1 has a sub frame "InfoFrame", can I remove InfoFrame from Panel_1 and add it to Panel_2?
|