Talk:Making Draggable Frames
From WoWWiki
Its all very well that we can drag frames around....
But this can in some circumstanses make the frame disapear (for instance when changing resolution).
So how would one move a frame that cant be reached by mouse?
One possibility would be to make a slash command that moves the frame to a default position...
Im yet to find a way to do this.
I have tried stuff like
getglobal(<nameOfFrame>):SetPoint("CENTER","UIParent","CENTER",0,0)
but this does not seem to work.
Maisha - 23 March 2006
Answer
If u do a
getglobal(<nameOfFrame>):ClearAllPoints()
before using SetPoint(...) it will work..
Just found out
