View Single Post
02-06-11, 10:43 AM   #1
Wex_dsh
A Defias Bandit
Join Date: Feb 2011
Posts: 2
frame position problem...

Hiho,

My frame does not show up where I set it to show up. Here is what I did:

* I created a frame "MyFrame" linked to UIParent.
* I linked events to it, set Width and Hight and Background, and Show() it.
* I created another frame "iFS_F" and linked it to MyFrame.
* This one is moveable and moving works in general.
* But: After a /Reload UI iFS_F shows up again at the position where I moved it to before, even though I do this:

...
iSF_F:ClearAllPoints();
iSF_F:SetPoint("CENTER", My_Frame, "CENTER", 0, 0);
iSF_F:Show();

It should show up in the center of the screen, where My_Frame is too, but it is not, it is where ever I moved it to before /reload ui. Why?
Is there some caching going on that I donīt know of?
Are the two Zeros there in the second line not the position?

Can anyone explain this to me?
  Reply With Quote