View Single Post
11-21-16, 11:45 AM   #46
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
You can just make your frame a button instead. No need to make an extra frame. Buttons support everything that frames do. Or you can use the "OnMouseUp" frame script, which gives you practically the same behavior as "OnClick". In that case, you also need EnableMouse and RegisterForClicks, I think. For buttons those come by default.
__________________
Grab your sword and fight the Horde!
  Reply With Quote