Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Lybrial
Forum: Lua/XML Help 07-19-19, 01:48 AM
Replies: 8
Views: 6,771
Posted By Lybrial
And that happens even if you clearAllPoints()...

And that happens even if you clearAllPoints() Oo
God I hate these 8.2 changes, seriously....
Forum: Lua/XML Help 07-18-19, 11:38 AM
Replies: 8
Views: 6,771
Posted By Lybrial
In this case self is the anchorFrame :) Look...

In this case self is the anchorFrame :)

Look what happens if I add some outputs to Detach function:


self.anchorFrame.Detach = function(self)
print("Detach called");

...
Forum: Lua/XML Help 07-18-19, 10:51 AM
Replies: 8
Views: 6,771
Posted By Lybrial
Name doesnt matter. I just wanted to make sure...

Name doesnt matter. I just wanted to make sure that "Detach" is getting called.
But yes, If I would want to output the parent frame you would be right.

print("detach: " .....
Forum: Lua/XML Help 07-17-19, 01:16 PM
Replies: 8
Views: 6,771
Posted By Lybrial
Why frame never attaches to UIParent?

Hi,

I have the following code:


function LybrialAnchors:SetupFrames()
if (not self.anchorFrame) then
self.anchorFrame = CreateFrame("Frame", "LybrialUIAnchor");
...
Showing results 1 to 4 of 4