Thread Tools Display Modes
08-17-07, 04:24 PM   #1
jaliborc
A Chromatic Dragonspawn
 
jaliborc's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 196
Question 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:

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?

Last edited by jaliborc : 08-20-07 at 09:44 AM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Dragging frames


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