WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Dragging frames (https://www.wowinterface.com/forums/showthread.php?t=11810)

jaliborc 08-17-07 04:24 PM

Reanchoring Quest Watch
 
When I try to anchor the Quest Watch to a new frame (example: frame1) OnLoad, it dos not work right.
But if I do it On Click it works:

Quote:

function frame1_OnLoad
QuestWatchFrame:ClearAllPoints()
QuestWatchFrame:SetPoint("BOTTOMLEFT", "frame1", "BOTTOMLEFT", 5, 8)
end

function button1_OnClick
QuestWatchFrame:ClearAllPoints()
QuestWatchFrame:SetPoint("TOPLEFT", "frame1", "TOPLEFT", 5, 8)
end
Why it does not work?


All times are GMT -6. The time now is 02:04 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI