View Single Post
11-11-13, 05:46 PM   #8
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
For which frame?

You should absolutely not use SetScript on the UIParent, if that's what you mean, and you really shouldn't be registering new events on it either. Just create your own frame. Takes 1 line of code and avoids all the potential problems.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote