View Single Post
08-25-14, 11:42 AM   #13
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Sharparam View Post
What if you make a SetScript method in your AddOn that is used for something, which then overrides Frame's SetScript method?
But why would you do that? There are literally infinite options for naming your methods. It's not any more difficult to avoid overwriting a frame's default SetScript method than it is to avoid overwriting your own DoThings method or overwriting the global CreateFrame function. This is quite possibly the most contrived excuse for overcomplicating addon code that I've ever heard.
__________________
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