View Single Post
01-30-14, 01:02 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Your other option would be to make your frame a Button object instead of a Frame object; it won't look any different (unless you also have it inherit from some kind of button template) and users won't be able to tell the difference, but it will support an actual OnClick script. This will only matter if what you want to do on "click" requires a hardware event -- if it does, then you need OnClick; you can't do that stuff in OnMouseDown/OnMouseUp.
__________________
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