I would say it's about the SetPoint:
newFrame:SetPoint("TOPLEFT", "ORC_FrameAdminLoot", "TOPLEFT", 20, ORCA_lastposition);
The second parameter should be the parent object - not a string. Plus it has to be the content Frame (don't know what ORC_FrameAdminLoot is ... is it even anchored to the content frame?).
newFrame:SetPoint("TOPLEFT", content, "TOPLEFT", 20, ORCA_lastposition);
|