View Single Post
11/17/14, 01:53 PM   #13
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Ah, silly me. OnClicked only works on Button controls. Use OnMouseUp then:
Lua Code:
  1. tex:SetHandler("OnMouseUp", function(control, button, upInside)
  2.     if button == 2 and upInside then
  3.         ...
  4.     end)
  Reply With Quote