Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-18-19, 08:37 AM   #1
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
Error: "SetPoint would result in anchor family connection"

When I do

Code:
_G.FramerateLabel:ClearAllPoints()
_G.FramerateLabel:SetPoint("TOPLEFT", "UIParent", "TOPLEFT")
I get (since 8.2) the following error:

Message: Interface\FrameXML\UIParent.lua:2356: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: FramerateLabel:SetPoint

But the effect is exactly what I want: FramerateLabel moves to the top left corner of UIParent.

So what is the meaning of this error?
And is there a way to achieve what I want without causing an error?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Error: "SetPoint would result in anchor family connection"


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off