View Single Post
06-13-15, 09:42 AM   #2
Clamsoda
A Frostmaul Preserver
Join Date: Nov 2011
Posts: 269
Lua Code:
  1. local function noop() end
  2.  
  3. ObjectiveTrackerFrame:ClearAllPoints()
  4. ObjectiveTrackerFrame:SetPoint("TOPRIGHT", UIParent, "TOPRIGHT", 0, -300)
  5. ObjectiveTrackerFrame.ClearAllPoints = noop
  6. ObjectiveTrackerFrame.SetPoint       = noop
  7. ObjectiveTrackerFrame:SetHeight(500)

This is the code I have been using to relocate my objective tracker. No need for any events or anything; ObjectiveTrackerFrame exists at file scope; furthermore I haven't had ANY issues with taint via setting ClearAllPoints and SetPoint to a dummy function.

Obviously you are interested in the SetPoint line that has position arguments.
  Reply With Quote